At 05:06 PM 6/23/2008, Wills, Steve wrote:

I figure that I can locate the field-control, set its default
properties to make it "invisible" then, on the relatively rare
occasions when the determining value NOT LIKE '%001', change
those properties to display the previously hidden field. Then,
I can reset those properties back to their invisible defaults.


Steve,

That is the most eloquent technique in Report or Label Designer
to achieve your objective.

Example:

-- Start here
-- Before Generate Custom EEP for Detail and/or Appropriate Band
IF vDeterminingValue NOT LIKE '%001' THEN
   PROPERTY HiddenControlCompID VALUE .vPreviousValue
   PROPERTY HiddenControlCompID VISIBLE 'TRUE'
   PROPERTY HiddenControlCompID FONT_COLOR 'GREEN'
ELSE
   PROPERTY HiddenControlCompID VISIBLE 'FALSE'
ENDIF
RETURN
-- End here

Based on your specific circumstances, you may update the order
of PROPERTY commands and actual variable names accordingly.

Very Best R:egards,

Razzak.


Reply via email to