G
gagecres
I'd like to grey out a button on my form if there are no records saved in the
database. Is there a way to do this?
database. Is there a way to do this?
In which object property do I insert this code?
John W. Vinson said:In which object property do I insert this code?
The form's Current event property (it should say [Event Procedure] and you
would enter this code, appropriately edited, by clicking the ... icon and
choosing Code Builder).
If an entry in some other control should disable the button, put the same code
in the AfterUpdate event of that control as well.