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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Textbox in an Update Form
I have 2 text boxes in my updatable form that I want ask about.
1st one is "Register Date" and the other is "Actual Date". How can I create the "Actual Date" to run my code before I go to another text box to input other data (this is a a NEW RECORD page of the form)? The code is: IIf([Register Date] = Now(), [Register Date], "") In the same time, I want the "Actual Date" remain unchange for all the previous records. And also, I want the "Actual Date" to update the linked table after I accepted the data displayed in the "Actual Date" after it run my code. |
#2
|
|||
|
|||
Textbox in an Update Form
The code is: IIf([Register Date] = Now(), [Register Date], "")
Not going to happen, ever! This Now() --- 11/9/2009 1:19:52 PM but in two seconds it will be 11/9/2009 1:19:55 PM so your [Register Date] just ain't gonna match. -- Build a little, test a little. "Nora" wrote: I have 2 text boxes in my updatable form that I want ask about. 1st one is "Register Date" and the other is "Actual Date". How can I create the "Actual Date" to run my code before I go to another text box to input other data (this is a a NEW RECORD page of the form)? The code is: IIf([Register Date] = Now(), [Register Date], "") In the same time, I want the "Actual Date" remain unchange for all the previous records. And also, I want the "Actual Date" to update the linked table after I accepted the data displayed in the "Actual Date" after it run my code. |
Thread Tools | |
Display Modes | |
|
|