If...else statement

Q

Quest

How do I use the If...else statement?? I basically want
to retrieve records using a query and if that particular
field in the record is empty than add to those empty
fields details. If not return a messaged saying that the
record is already filled.

For example: check record to see if tool issued has been
returned or not.

Thanks!
 
G

Guest

In the top line "field line" of the query try this;

CheckIT:iif(isnull([field]=true,[details],"Rec Filled"))

David S.
DataOverTheWeb.com
 
T

Tim Ferguson

In the top line "field line" of the query try this;

CheckIT:iif(isnull([field]=true,[details],"Rec Filled"))

Brackets:

CheckIT: IIf(IsNull([Field]), "Something else", "Already filled")


HTH

Tim F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top