How to prevent Pop-Up calendar edited date field

  • Thread starter Thread starter paul
  • Start date Start date
P

paul

Hi,
In my Access 2k application, I have a form contains a
date field. Allow user input date either by type or click
the Pop-Up calendar (it's a form with calendar).
For data intergrity, in the "On current" event, I set
AllowEdit = false if current user is not the original
creator.
If the user tried to input by entering number
(mm/dd/yyyy) it will lock, won't allow user to edit. But
if the user input by the Pop-Up calendar, then it won't
lock.
How can I prevent Pop-Up calendar to input date, when I
want AllowEdit = false?
Thanks for your help.
 
Paul,

I'm assuming the popup calendar is fired by clicking on a command button
next to the date, if that is the case,
you can disable the button at the same time you set AllowEdit = False.

HTH
Dale
 
Back
Top