Disable pop up calendar

S

sue gray

I have a date field that I use the pop up calendar for. It works fine,
except that I also open that form in read only. When I open it in read only
I the date field is changeable, how can I fix this. I tried this command but
it shadows out the field. Is there another command I can use to make it look
normal, but not changeable.

Forms!frmcontactnote!contactnoteDateofService.Enabled = False

THanks.
 
M

MikeJohnB

Try

Forms!frmcontactnote!contactnoteDateofService.Enabled = False
Forms!frmcontactnote!contactnoteDateofService.Locked = True

Note, Not tested but if you Disable a control it greys out, but then locking
the controls gives a normal appearance but locks the control so it cannot be
changed.

I hope this helps you????

Please post back if still a problem??

Kindest Regards

Mike B
 
S

sue gray

Worked great!!! Thanks

MikeJohnB said:
Try

Forms!frmcontactnote!contactnoteDateofService.Enabled = False
Forms!frmcontactnote!contactnoteDateofService.Locked = True

Note, Not tested but if you Disable a control it greys out, but then locking
the controls gives a normal appearance but locks the control so it cannot be
changed.

I hope this helps you????

Please post back if still a problem??

Kindest Regards

Mike B
--
Advice to Posters.
Check your post for replies or request for more information.
Consider providing some feed back to the response you have recieved.
Kindest Regards Mike B
 
M

MikeJohnB

Glad to help Sue, what you doing playing with Access on New Years Eve Though?

:) Happy New Year
 

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