would like to enable a button when openform

dai_lo

Registered User.
Local time
Today, 02:03
Joined
Jan 10, 2008
Messages
30
Hi,

I would like to enable a button when open another form

I tried the following:

DoCmd.OpenForm "frm_Create", acNormal, , "[TrackingID] = " & Me![TrackingID], acFormEdit, , Form_frm_Create.cmd_Delete.Enabled = True

the above code does work but it can't enable the button.

please advise.

thanks

Alice
 
How about:
Forms.frm_Create.cmd_Delete.Enabled = True
 

Users who are viewing this thread

Back
Top Bottom