How do I prevent user from changing date on form ?

M

mthornblad

Hi

I have a form with a date field. The Tab Stop property is set to No.
The field has a default value of the current date =date().

I don't want the user to be able to change the default date. The Tab
Stop is set to No but if you click in the field, you can change the
date. How do I prevent this from happening ? I don't see an obvious
was to do this. (at least for me).

Please let me know and thanks in advance for your help.

Mark
 
F

fredg

Hi

I have a form with a date field. The Tab Stop property is set to No.
The field has a default value of the current date =date().

I don't want the user to be able to change the default date. The Tab
Stop is set to No but if you click in the field, you can change the
date. How do I prevent this from happening ? I don't see an obvious
was to do this. (at least for me).

Please let me know and thanks in advance for your help.

Mark

Set the control's Locked property to Yes AND it's Enabled property to
No. The user will not be able to enter the control at all.
 
M

mthornblad

Set the control's Locked property to Yes AND it's Enabled property to
No. The user will not be able to enter the control at all.

Thanks so much. It's great having experts like you to help out us not
so sharp newbies.
I appreciate it.

Mark
 

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