C
connie
I have tried this every way I can think of and nothing
works.
In a report (access 97) I have a check box field in which
I want it to accomplish the following:
If the left 3 characters of the [type] field = "COS" then
this box should appear checked, otherwise it shouldn't.
I tried this expression in the control source property
for the field in the report, but I get a message that an
IIF expression has to be in parenthesis. If this isn't
right, what is?
=IIF Left$([type],3="COS",True,False)
works.
In a report (access 97) I have a check box field in which
I want it to accomplish the following:
If the left 3 characters of the [type] field = "COS" then
this box should appear checked, otherwise it shouldn't.
I tried this expression in the control source property
for the field in the report, but I get a message that an
IIF expression has to be in parenthesis. If this isn't
right, what is?
=IIF Left$([type],3="COS",True,False)