Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


on goto error


on goto error

Author
Message
Makura
Makura
Forum God
Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)Forum God (4K reputation)

Group: Forum Members
Posts: 14, Visits: 129
Hi everyone!

I need help me store procedure. Anyone can help me ? On goto error x in store procedure like in vb.

Max
Laurence™
Laurence™
Forum God
Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)

Group: Forum Members
Posts: 17, Visits: 56
do you mean "on error goto x"????



if so try it like this



private sub test()



on error goto errortrap



some code....



exit sub



errortrap:



some code...



end sub

SmoooothLAURENCE VALENTINE™
Mark
Mark
Forum God
Forum God (142K reputation)

Group: Moderators
Posts: 1.1K, Visits: 11K
Laurence™ (8/18/2009)
do you mean "on error goto x"????

if so try it like this

private sub test()

on error goto errortrap

some code....

exit sub

errortrap:

some code...

end sub

That works good in VB but SQL doesn't support On Error.

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search