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 to create a nested SUMIF in Excel / Google Docs
How do I pass a cell reference through to my function code instead of the cell contents
Access 2003 to Word 2003: quest 2: where can i put these 2 lines of code, bec. now it's giving me an error
Delete Files from Temp Directory that are at least 2 hours old
Setting WPF radio button FontWeight based on Checked value
group by and sum function in SQL
How do I retrieve text from a website
Exchange 2010 on a Domain Controller
Enabling Secure Logon in Windows XP Pro
Microsoft Exchange 2007 32 bit Product Key