BCullenward
Registered User.
- Local time
- Yesterday, 23:21
- Joined
- Jul 6, 2005
- Messages
- 28
I get a critical error (don't remember exactly what it is off the top of my head but it's one of those very vague ones) when trying to execute a simple update statement through VBA on a SQL Server linked table.
When it crashes, it has actually executed the command but still pops up the Disasterous error message. When I make a new query (in both Access AND SQL Server) and type in the same syntax (substituting the actual value of the variable instead of hte variable name) it runs just fine, however when putting that same query (with the explicit value in it) back in the code it crashes.
Any advice would be appreciated.
Thanks
When it crashes, it has actually executed the command but still pops up the Disasterous error message. When I make a new query (in both Access AND SQL Server) and type in the same syntax (substituting the actual value of the variable instead of hte variable name) it runs just fine, however when putting that same query (with the explicit value in it) back in the code it crashes.
Any advice would be appreciated.
Thanks