rjmccafferty
IS-IT--Management
I have a series of dCount fields in the footer of a report. Some of them only apply to certain customers and I would prefer that unaffected customers not see the field to avoid confusion and needless questions.
Is there any way I can, in pseudo code, essentially say:
iif([field1]<>"", =dCount("[field2]","Query1","[Fields2] = 'S' "
,"boundField.visible = No"
Or, in English,
if field1 is not empty, count field2 in Query1 where field2 = S,
else make the report field invisible
I just don't see anywhere in properties I can attach code to do this.
Is there any way I can, in pseudo code, essentially say:
iif([field1]<>"", =dCount("[field2]","Query1","[Fields2] = 'S' "
Or, in English,
if field1 is not empty, count field2 in Query1 where field2 = S,
else make the report field invisible
I just don't see anywhere in properties I can attach code to do this.