Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 11th, 2006, 08:43 AM
Registered User
 
Join Date: Nov 2006
Location: milton keynes, , United Kingdom.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to tigere Send a message via Yahoo to tigere
Default ASP Insert , MS Access Db

, could anyone pliz help??

I am having a problem commitig records to an Access db with ASP.
On running the query I get the following error:

Microsoft VBScript compilation (0x800A03EA)
Syntax error

I dont see where I am going wrong.
here is my insert statement:
sql_insert = "INSERT INTO Users(first_name, last_name, address, line2, city, country, postcode, phone, mobile, email, wifi_laptop, desktop, laptop, Pda, OS, terms_of_use) VALUES ('"&
first_name &"', '"& last_name &"', '"& address &"', '"& line2 &"', '"& city &"', '"& country &"', '"& postcode &"', '"& phone &"', '"& mobile &"', '"& email &"', '"& wifi_laptop &"', '"& desktop &"', '" & laptop &"', '"& Pda &"', '"& OS &"', '"& terms_of_use &"')"



('.')


Similar Threads
Thread Thread Starter Forum Replies Last Post
DropDownList value insert to MS DB(DetailsView) yukijocelyn ASP.NET 2.0 Basics 2 August 23rd, 2007 01:32 AM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM
Error in Asp,net and MS Access DB shankha ADO.NET 1 January 4th, 2006 12:00 PM
OLEDB with ASP.NET and MS Access DB krishanu Classic ASP Databases 0 June 8th, 2005 12:52 PM
Need HELP, MS access DB, Jet OLEDB, asp Caley L. Baumgart Classic ASP Databases 7 March 23rd, 2004 11:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.