default

sadie

Registered User.
Local time
Today, 13:28
Joined
Apr 11, 2003
Messages
115
In my form I have a field for "session date"
I also have a field for "copay date"
How can I get the copay date to automatically default to the same dateas the session date
 
In the session afterupdate event, if the co-pay date is null, set it equal to the session date.

pseudo code:

if isnull(me!copaydate) then me!copaydate = me!sessiondate


???
kh
 
forgive my lack of knowledge but where do I enter the code
 
Open the form in design view. Right click on the session textbox and open the properties window. Scoll down till you see AfterUpdate. Right click in the field and do Build -> code builder.

Of course I have no idea if the names in the pseudo code are correct...

:)
kh
 

Users who are viewing this thread

Back
Top Bottom