P polina Registered User. Local time Today, 23:08 Joined Aug 21, 2002 Messages 100 Sep 11, 2002 #1 On the form_activate i have an error trapping routine What i want to do is if the certain error occurs, I want the form to stop activating ( in other words, form wouldn't open) Please suggest a solution. Thanks
On the form_activate i have an error trapping routine What i want to do is if the certain error occurs, I want the form to stop activating ( in other words, form wouldn't open) Please suggest a solution. Thanks
C charityg Registered User. Local time Today, 23:08 Joined Apr 17, 2001 Messages 634 Sep 11, 2002 #2 You need to put the error trapping in the OnOpen event of the form, and then set Cancel=1 if you get a certain error. Or from your OnActivate event, if you hit the certain error, DoCmd.close
You need to put the error trapping in the OnOpen event of the form, and then set Cancel=1 if you get a certain error. Or from your OnActivate event, if you hit the certain error, DoCmd.close