How do I make a button appear only if certain conditions are met

Chris Hump

Access VBA Amateur
Local time
Today, 20:16
Joined
Nov 16, 2009
Messages
10
I am creating a form in which the user (student) has to make selections from 7 choices (each 10 or 20 credits) which must equal a total of 30 credits.

I want the save button to appear only if this criteria has been met. What is the best way of doing this?

Thanks.
 
Set the .visible property of the button to True when the condition is met otherwise set it to False
 
When making the save button invisible (.VISIBLE=FALSE), also disable it (.ENABLED=FALSE). Fewer accidents that way due to stray clicks.
 

Users who are viewing this thread

Back
Top Bottom