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
Adding Open Containing Folder to context menu
Access/Batch File
How to find out who has an Access 2003 database locked
How do I copy a template excel sheet in the same workbook in order to populate the new sheet with data from my database
how to convert a project into exe file?
access databse already in use
Custom Password Filter Windows 2003
How do I Control Program Access on Windows Server 2008 R2 Terminal Server?
How do i enable RDP on a Cisco 1841 router
Explain Regular Expression