N
noe1818 via AccessMonster.com
Here is what's going on. I have two tables
1- table checkmark sub
2- table checkmarks sub2
I keep getting an "error?" message when I run my procedure.
I want an unbound text box on a form to lookup if a checkbox was chosen then
display "yes" or "no".
I'm trying to do it using this:
IIf (DLookUp("[checkmark]","table checkmark sub",'[id]=' & [id] & " And [ass
#]= " & [ass #])=True, "yes","No").
Where checkmark, id, ass # are the field names of "table checkmark sub". "id"
and "ass #" are the same in both tables
In other words, if a lookup of the checkmark value is true, then indicate
"yes", otherwise indicate "no".
Now my checkmark value is a yes/no type, does that matter? Do I have the
syntax right? Can someone help?
1- table checkmark sub
2- table checkmarks sub2
I keep getting an "error?" message when I run my procedure.
I want an unbound text box on a form to lookup if a checkbox was chosen then
display "yes" or "no".
I'm trying to do it using this:
IIf (DLookUp("[checkmark]","table checkmark sub",'[id]=' & [id] & " And [ass
#]= " & [ass #])=True, "yes","No").
Where checkmark, id, ass # are the field names of "table checkmark sub". "id"
and "ass #" are the same in both tables
In other words, if a lookup of the checkmark value is true, then indicate
"yes", otherwise indicate "no".
Now my checkmark value is a yes/no type, does that matter? Do I have the
syntax right? Can someone help?