Disable or hide button based on date condition in MS Access

josephbupe

Registered User.
Local time
Today, 18:04
Joined
Jan 31, 2008
Messages
247
I have a form that has a listbox and a subform. The listbox lists names of events, start date and end date. The subform bellow reveals names of participants to the event that is clicked in the listbox. Against each participant's name is a button to delete the participant.

How can I hide or disable the delete button if the start date of the event is past?

I will appreciate your help.

Joseph
 
Set the control's visible or enabled property to false on checking the date, else set them to true?
 

Users who are viewing this thread

Back
Top Bottom