conditional format one field to alter a second field (1 Viewer)

John thomas

Registered User.
Local time
Yesterday, 18:08
Joined
Sep 4, 2012
Messages
206
Hi
Have a continuous form with 2 date fields in each record .
If dateField1 is empty ,Then I want a way to make DateField2 Take its Place .
I know how to make things happen with conditional formatting on one field by UsingIsNull ,
I have tried sending datefield2 to back.But cant work out how to bring it to front If DateField1 IsNull.
Many thanks
 

JHB

Have been here a while
Local time
Today, 03:08
Joined
Jun 17, 2012
Messages
7,732
Sorry - I don't think you'll be able to do that in a continuous form, then you can't show one control in a record and then another control in the next record - it will always be the same for all records.
 

John thomas

Registered User.
Local time
Yesterday, 18:08
Joined
Sep 4, 2012
Messages
206
Sorry Ive taken a while to get back .
Thanks for your help, I had a feeling that might be the case
 

vbaInet

AWF VIP
Local time
Today, 02:08
Joined
Jan 22, 2010
Messages
26,374
You can do it in the Control Source of whichever textbox you choose to be the only date textbox, or do it in the record source (i.e. query) of the form:
Code:
Nz([[COLOR=Blue]Date1Field[/COLOR]], [[COLOR=Red]Date2Field[/COLOR]])
 

Users who are viewing this thread

Top Bottom