Home | Advertising Info62 USERS CURRENTLY ONLINE   
   Site Search Contact Us Wednesday, February 08, 2012  
 
 


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



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds



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




ASPProtect

 
Subject: Help me with this code...
From: Joseph A Velazquez
Date: 5/7/2003 11:59:50 PM
IP: 66.81.19.53



 

Ack! I am having so much trouble with this code! It may be cause I am an amatuer ASP programer but please help! I am testing out a news system for my friends' site. When I tested the posting page, I got an error saying

"Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement."

Here is Line 25 which I am having problems with. I have added the surrounding lines which may be the problem.

<%
Dim objRS, bolAlreadyExists
If ((Request.Form("name") = "") OR (Request.Form("date") = "") _
OR (Request.Form("title") = "") OR _
(Request.Form("content") = "")) Then
Response.Write "<A HREF='post.asp'>"
Response.Write "You must enter values for all the fields."
Response.Write "</A>"
Else
Set objRS = Server.CreateObject("ADODB.Recordset")
objRS.Open "news", objConn, , adLockOptimistic, adCmdTable
objRS.AddNew

objRS("name") = Request.Form("name")
objRS("date") = Request.Form("date")
objRS("title") = Request.Form("title")
objRS("content") = Request.Form("content")

objRS.Update

End If
%>

I am using a DSN connection and connected it to the page and adovbs.inc also. Please help me out!

Follow Up - Re: Help me with this code... - Bullschmidt 5/21/2003 11:51:29 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2012 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 a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. 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