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 show detail on summary report that is pulled into another report (sub-report)
How can I merge multiple worksheets into one worksheet ?
Error While Processing an Application in SAP BPC with SQL 2008 on backend.
VBA Variable as DLookup Criteria
Manually populate Gridview
Moving public folders from Exchange 2007 to Exchange 2003 - Different Organisations
Access, non-print a null field.
Shutdown/Restart : Enter a reason to continue
Microsoft Dynamics CRM 4.0
Customizing a SQL Contains statement for performance.