if statement

ddskorupski

Registered User.
Local time
Yesterday, 21:58
Joined
Apr 29, 2009
Messages
44
I have a documents table with a date field titled "datereceived".

I have a second table with a checkbox field that indicates if the document has been received. (we need to track these metrics)

I need an if statment that says if date received is null, then no in checkbox field, else yes.

How should that look?
 
You do this kind of stuff on forms, not in tables.the oncurrent() event would work best here.
 
thank you. I apologize for not providing enough info. I actually want to build the if statment in an append query. Can you help me with that?
 
thank you for your response. I just tried it and it is asking me to enter a parameter value
 
ok. I figured out why it was prompting me for a parameter value. Now it is returning a -1 though. Any thoughts?
 
ok. I figured out why it was prompting me for a parameter value. Now it is returning a -1 though. Any thoughts?

Under normal circumstances, -1=Yes/True, and 0=No/False. Is the Field a Number DataType instead of Yes/No?
 
never mind..figured that one out too. Thanks all of you for your help. This site is awesome
 

Users who are viewing this thread

Back
Top Bottom