Visible Question

B

Bob Vance

Is it Possible that a label [lblCantEdit] on my form will become visible if
[tbDate] is 90 days Old
 
F

fredg

Is it Possible that a label [lblCantEdit] on my form will become visible if
[tbDate] is 90 days Old

Place the following code in BOTH the form's Current event as well as
the [tbDate] control's AfterUpdate event:

Me![lblCantEdit].Visible = DateDiff("d",[tbDate],Date()) >= 90
 
B

Bob Vance

Thanks Fred, worked perfectly ...Regards Bob :)

fredg said:
Is it Possible that a label [lblCantEdit] on my form will become visible
if
[tbDate] is 90 days Old

Place the following code in BOTH the form's Current event as well as
the [tbDate] control's AfterUpdate event:

Me![lblCantEdit].Visible = DateDiff("d",[tbDate],Date()) >= 90
 
Top