disable button when opening form with macro

guo84

New member
Local time
Today, 16:59
Joined
Jan 26, 2005
Messages
7
Hi to all..

:)

Form A got 2 buttons. Add and delete.

I can open form A in 2 ways, add mode or edit mode.

when I want to open form A in edit mode, the delete button is
disabled.

Can someone help me with it? Thanks a million.
 
try using openArgs, you can pass a variable when you call the openForm event.
Do a search and see what you come up with,

you would then use this value on the Form_Load event to disable the button if required.

Todd
 

Users who are viewing this thread

Back
Top Bottom