If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > iif statement with date

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-03-11, 13:42
MMontoya MMontoya is offline
Registered User
 
Join Date: Oct 2011
Posts: 4
iif statement with date

I would like to know if there is a way to use the expression:

=iif([Order Sent]=yes,date(),null) can work by keep the date as the original date the order was sent, and not keep populating current date as days go by.

This expression is in a text box in a form. The Order Sent is a check box in that same form. They are both fields in the same table. The goal is to check the order sent box and auto populate what day it was sent, and when the product is received, to just uncheck the order sent box, and the date will go away.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 04-24-12, 05:02
ieuan ieuan is offline
Registered User
 
Join Date: Apr 2012
Posts: 28
In my opinion, it is difficult to understand what you really want to know. Do you mean that that expression is correctly working?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On