|
||||||||||||||||||||||||||
Provider=Microsoft.Jet.OLEDB.4
|
Author | Message |
---|---|
![]() Some help please! I am using an Access 97 database Set cnCODE = New ADODB.Connection strTemp = "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" & "C:\Current.mdb" cnCODE.Open strTemp .... cnCODE.Execute "DELETE * FROM Container WHERE PrintOrder=" & Str(selectedI) When I reach this line I get "Syntax error in FROM clause" However, the following works perfectly My client's machine has Access 2000 and will not allow the connection to my |
|
Thu, 06 Nov 2003 02:28:13 GMT | |
![]() |
|
![]() Quote: > cnCODE.Execute "DELETE * FROM Container WHERE PrintOrder=" & Bill, Your SQL DELETE statement doesn't look correct. There is no "*" after the keyword DELETE Try this: -- Thanks, |
|
Thu, 06 Nov 2003 05:08:17 GMT | |
![]() |
|
![]() Bill, Carl is correct. Access2000, SQL and Oracle do not allow the asterisks
in a DELETE statement. -- Kent Prokopy Quote: > > cnCODE.Execute "DELETE * FROM Container WHERE PrintOrder=" & > Bill, > Try this: > -- > Thanks, |
|
Thu, 06 Nov 2003 06:56:40 GMT | |
Page 1 of 1 |
[ 3 post ] |