For large queries I was getting...
so I switched some of my...
to
This got rid of the warning message, and works seamlessly with most SQL statements. However, CurrentDB.Execute does not prompt users for a parameter value, like DoCmd does. Using a system parameter value to obtain parameters I encountered...
When running SQL statements that get a variable from the user via a system parameter value dialog. You must use a custom control to get any parameters when using Execute.
When I encountered error 3061 I searched the web and didn't find anything related to what was going on in this situation. The error message was actually spot on, but habit takes an error code to the internet. Either way, somebody, someday will search for this. Will text tags(like Italic Code and Indent) get searched in Google?
There isn't enough disk space or memory to undo the data changes this action query is about to make
so I switched some of my...
Code:
DoCmd.RunSQL "SQL Statements"
Code:
CurrentDB.Execute "SQL Statements"
This got rid of the warning message, and works seamlessly with most SQL statements. However, CurrentDB.Execute does not prompt users for a parameter value, like DoCmd does. Using a system parameter value to obtain parameters I encountered...
Runtime Error 3061 Too few parameters, Expected #
When running SQL statements that get a variable from the user via a system parameter value dialog. You must use a custom control to get any parameters when using Execute.
When I encountered error 3061 I searched the web and didn't find anything related to what was going on in this situation. The error message was actually spot on, but habit takes an error code to the internet. Either way, somebody, someday will search for this. Will text tags(like Italic Code and Indent) get searched in Google?