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
loop results within output query
Recover data from *.mdf and *.ldf files!!
Exchange 2010 Management Console connects to the wrong server
Windows 7 Upgrade Advisor without Internet connection.
Need help with SQL INSERT query
Calling DLL function in release mode from exe in debug mode
Setting up Server 2008 in a branch office with SBS 2008
Finding Duplicate rows in a datatable to mark as duplicate and have to append the duplicate row in new datatable
How to use the icons in the Office2007IconsGallery
Tools to replicate from SQL server 2000 to SQL server 2008