Conditional Formatting in Forms

J

Judy

I'm trying to get a form to display a "Yes" or "No" depending on a review of
two dates. Tried a number of times. In English, want it to do the following
- if the Date returned to marketing is less than or equal to the due date,
write "Yes" and if not write "No" - otherwise leave blank.
 
N

NuBie via AccessMonster.com

ans = iif(dateReturned <= dueDate,"Yes", "No")
write "Yes" and if not write "No" - otherwise leave blank.

What instances you want to leave it blank, since date returned equal or less
than due date is a "YES", date returned greater than due date is a "NO".
Where does the "otherwise leave blank" fits in?
 

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