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
Expert Notify Thread - For Experts only (those answering questions in the MS Access Zone).
Append from Access to SQL Server key violation on any second query
How do I remove special characters in a query?
VPN client (Check point Secure client) not able to browse to any website on the machine once connected to the VPN.
How do I migrate Exchange 2003 Public Folder to Exchange 2007 using PFMigrate?
OCS will not start - Event ID 20482
Backgrounds and Fonts in Windows Live Mail
Mersenne Primes algorithm
VSTO: How to access Safe Sender List?
Is there a way to keep track of microsoft licensing on many servers rather than manually keeping track?