I'd like to check if a field is a certain value then mark the checkbox but, I'm not sure of the syntax and am new to Acces and VB. Here's what I have so far:
IIf([SampleTypeCode]="Grab" Or [SampleTypeCode]="Integrated",[CheckGrab]=1)
I'm certain this syntax is incorrect but, unfortunately I don't have a refernece to check
. What I'm trying to say in english terms is:
If the field [SampleTypeCode] contains the string "Grab" or "Integrated" then put a check in the checkbox.
IIf([SampleTypeCode]="Grab" Or [SampleTypeCode]="Integrated",[CheckGrab]=1)
I'm certain this syntax is incorrect but, unfortunately I don't have a refernece to check
If the field [SampleTypeCode] contains the string "Grab" or "Integrated" then put a check in the checkbox.