Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stopping vba run-time error display

Status
Not open for further replies.

mrwendell

Programmer
Aug 22, 2003
43
US
Can anyone help me with this...

I have 2 forms...form1 form2...based on form1 input (ssn) it will either open form2 with a record matching (ssn) or give a custom msgbox, however access2000 also displays after clicking vbok on the custom msgbox...the error is being generated from form2--docmd openform-- my msgbox is triggered at oncurrent event for form2...isnull(ssn) then msgbox....i need a code to ignore access error display and return to form1 ssn.setfocus....

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top