Microsoft
Software
Hardware
Network
Question : access 2003 delete query to not work check sql syntax?
Hi have an access 2003 db with a delete query in vba. Not working. Sure I am missing something please take a look.
I am wanting to delete all records from the LabelTemp table that have a value of -1 in the Cleartbl column.
strSql = delete FROM("LabelTemp")WHERE Cleartbl = -1
Answer : access 2003 delete query to not work check sql syntax?
Well, I followed the same shorthand you seemed to use in your posting, but I may have assimed too much. You would of course have to quote the string like follows:
strSql = "DELETE * FROM [LabelTemp] WHERE Cleartbl = -1"
~bp
Random Solutions
How can I get the Start and End dates used in a seach to display on the report? MS RS 2005
"Error 1327 Invalid Drive F:/" on Sprint USB Wireless Installation
Upgrade from MSSQL 2005 Express to MSSQL 2008 Standard
AutoDial from Access without Getting the AutoDial Window
Using Template Files and SendObject in a Macro
Freeware Registry Editor for WIndows Mobile 6.1?
Cisco VPN client issue
Menu accelerators not working
Excel Keep/Delete Records in Sheet1 that are in Sheet2
terminal services gateway server is temporarily unavailable