DateIssued.Locked =

buzzbait9

Registered User.
Local time
Today, 04:06
Joined
May 19, 2015
Messages
18
Hello,

Me.DateIssued.Locked = Not IsNull(DateIssued)

I used this code to lock a date box in my subform. the item was already issued in the table. If it wasn't issued, it would have kept the field Unlocked.

Now when I change the main form to a different record that has no issue date, I can't seem to unlock the textbox so I can add the Issue date of the record.

Can I have a Hint on this one?

Thanks
 
Add that code to the current event of the form.
 
Awesome! Thank you
 

Users who are viewing this thread

Back
Top Bottom