-
Update (and Add) always gives an error message
This short bit of code:
<%
Set MyDb = Server.CreateObject("ASPDB.EP"
MyDb.dbmdb=Server.MapPath("PMQA.mdb"
MyDb.dbUnit=333444
MyDb.dbSQL = "SELECT * FROM [Customer Info] "
MyDb.dbMode="Grid"
MyDb.dbNavigationItem = "Top,Prev,Next,Bottom,Reload,Update,Add" ;
MyDb.dbEditParams="TableName=[Customer Info], BookMarkFlds=Order#, TableTag=BORDER=2"
MyDb.aspDBEP
%>
ALWAYS gives this error:
Error # = 80040E14(-2147217900)
Description = [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.
Source = Microsoft OLE DB Provider for ODBC Drivers
SQL State = 37000
Native Error = -3503
-
Update (and Add) always gives an error message (reply)
Rich,
This is almost always caused by a reserved word in a field name, such as
[Hire Date] Date is illegal!
Mark.
------------
Rich Paino at 5/24/01 5:09:19 PM
This short bit of code:
<%
Set MyDb = Server.CreateObject("ASPDB.EP"
MyDb.dbmdb=Server.MapPath("PMQA.mdb"
MyDb.dbUnit=333444
MyDb.dbSQL = "SELECT * FROM [Customer Info] "
MyDb.dbMode="Grid"
MyDb.dbNavigationItem = "Top,Prev,Next,Bottom,Reload,Update,Add" ;
MyDb.dbEditParams="TableName=[Customer Info], BookMarkFlds=Order#, TableTag=BORDER=2"
MyDb.aspDBEP
%>
ALWAYS gives this error:
Error # = 80040E14(-2147217900)
Description = [Microsoft][ODBC Microsoft Access Driver] Syntax error in UPDATE statement.
Source = Microsoft OLE DB Provider for ODBC Drivers
SQL State = 37000
Native Error = -3503
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|