Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 10-06-2004, 08:33 PM ASP help
Novice Talker

Posts: 7
Trades: 0
At my highschool im in charge of settin up an ASP database for the page. I have been messing around using the "webthang" tutorial trying to get used to it. I got to the add part of the tutotial and ran into an error. The error was this
• Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
/sportasp/add.asp, line 115
Line 115 says the following: MM_editCmd.Execute

If you could help me figure this out greatly appreciated! If this isnt enough information tell me so i can fix it
WGHSwebmaster is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-06-2004, 09:51 PM
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
Check your SQL query statement.

Without the the query, it is not possible to answer your question.

"INSERT into mytable(firstname,lastname) values ('" & fname & "','" &lname &"')

besides, in ASP, the single quoted information must be passed as 2 single quoted.

Check this thread.
http://www.webmaster-talk.com/showthread.php?t=16131

Dreamweaver adds its own code at here and there. It is simple to work with DW, once you learn ASP.

Visit http://www.aspin.com
http://www.aspfree.com
http://www.learnasp.com

for more tutorials.
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE

Last edited by vivekar; 10-06-2004 at 09:54 PM..
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 10-07-2004, 02:01 PM Ugh
Novice Talker

Posts: 7
Trades: 0
• Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
/sportasp/add.asp, line 115
Line 115 says the following: MM_editCmd.Execute
OK HERE IS THE ERROR AGAIN -- IT SAYS LINE 115 is the error but our line (108) is the insert statement __________________________________________________ ___________________-_
(line 108)MM_editQuery = "insert into" & MM_editTable & " (" & MM_tableValues & ") values (" & MM_dbValues & ")"

(line 115) mm_editCmd.execute


I dont understand what the problem is!!! If you need more info send me a private msg
Please speak in asp noobie language.
WGHSwebmaster is offline
Reply With Quote
View Public Profile
 
Old 10-07-2004, 10:38 PM
vivekar's Avatar
Webmaster Talker

Posts: 612
Trades: 0
The error says that " Syntax error in INSERT INTO statement "

It means that your SQL statement is not correct.
You need a space at "insert into".
Like "INSERT INTO ". & MM_editTable & " (" & MM_tableValues & ") values (" & MM_dbValues & ")"

Hope this helps.
__________________

Please login or register to view this content. Registration is FREE
(Active since 2003) |
Please login or register to view this content. Registration is FREE
vivekar is offline
Reply With Quote
View Public Profile Visit vivekar's homepage!
 
Old 10-11-2004, 01:47 PM
Novice Talker

Posts: 7
Trades: 0
Put a space still gettin the same error any other suggestions?
WGHSwebmaster is offline
Reply With Quote
View Public Profile
 
Old 10-11-2004, 02:42 PM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Trades: 0
On line 109 put this:

response.write "Query=" & MM_editQuery

then tell us what you see.
Anacrusis is offline
Reply With Quote
View Public Profile
 
Old 10-12-2004, 01:55 PM
Novice Talker

Posts: 7
Trades: 0
I got nothing perhaps I should start over
WGHSwebmaster is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ASP help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30777 seconds with 12 queries