Home | Advertising Info152 USERS CURRENTLY ONLINE   
   Site Search Contact Us Monday, April 23, 2018  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Re: Error Trapping
From: Harlan
Date: 3/22/1999 2:27:21 PM


another way to do error handling, is to "catch" spacific errors. you can do this in your errorhandler, or you can resume next, and do it after the possible error would occure. Here's an example that resumes next, and ignores the error number that tosses when the record already exists.

'create the sql insert for questions
sqlQuestion = "INSERT INTO questions (question,value) VALUES " & _
"('" & strQuestion & "'," & intValue & ")"
'insert it
On Error Resume Next
DB.Execute (sqlQuestion)
'if the question already existed, ignore the error thats tossed back
If Err.Number = -2147217900 Then
'do nothing, its ok for now.
ElseIf Err.Number <> 0 Then
'if there is an error other than the question already exists, send it to the error handler
GoTo ErrorHandler
End If

Previous Message


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com