Hey Accessers:
I am having a problem with syntax. I am trying to gray out a column under certain conditions using the IIF function.
If the company is closed that day my pgm places a "CC" in the field for that day. When I print out the grid I want to gray that field out. I am trying to use the IIF function, which is probably the wrong approach but its quick and easy.
Here is the statement I typed:
=IIf([D5]="CC","me!section!detail!D5.backcolor = 12632256"
Field = D5
the field is in the detail section of the report
Can anyone tell me how this command s/b structured? I have used IIF before in reports but never on properties.
Thanks
Trudye
I am having a problem with syntax. I am trying to gray out a column under certain conditions using the IIF function.
If the company is closed that day my pgm places a "CC" in the field for that day. When I print out the grid I want to gray that field out. I am trying to use the IIF function, which is probably the wrong approach but its quick and easy.
Here is the statement I typed:
=IIf([D5]="CC","me!section!detail!D5.backcolor = 12632256"
Field = D5
the field is in the detail section of the report
Can anyone tell me how this command s/b structured? I have used IIF before in reports but never on properties.
Thanks
Trudye