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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to tell insert has posted

Status
Not open for further replies.

mdr227

Programmer
Nov 17, 2000
114
US
What is the best way to tell if an insert statement has succeeded in ASP? I want to print a confirmation message after users submits an online form, but only if the record successfully posts to the database. Thanks
 
Unless you get an ASP or a SQL error back, it should have posted fine, but you can always build a quick SQL statement to pull that record back out again. If it returns a blank recordset, then it is not in the database. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top