Link to home
Start Free TrialLog in
Avatar of shrihalbe
shrihalbe

asked on

Form unload

Hello

  in forload even i am checkin the values in the form if not satisfied then message box will be given and form will be unloaded . so how can i do that?
THanks,
shri
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

you need to manage queryunload event instead, check the required values, show msgbox if you need and set cancel to false to not unload form.
Avatar of soferstam
soferstam

MsgBox "..."
Unload Me
???
ASKER CERTIFIED SOLUTION
Avatar of TechJD
TechJD

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 shrihalbe

ASKER

thanks,
shri