Link to home
Start Free TrialLog in
Avatar of Yury Merezhkov
Yury MerezhkovFlag for United States of America

asked on

Disabling ms access form

Hi,

I have two forms. The second one is called by the button that is on the first one. I wanna disable first form when second one is open. Me.Enabled = False isn't working :(
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Why not just close it?  In Access VBA...

DoCmd.OpenForm "Your Second Form Name"
DoCmd.Close acForm, Me.Name
ASKER CERTIFIED SOLUTION
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Yury Merezhkov

ASKER

Exactly what I need :) Thank you.