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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top