ck.letterbox
Registered User.
- Local time
- Tomorrow, 00:16
- Joined
- Jun 26, 2008
- Messages
- 19
Hi guys,
I know that there're heap of this error posted on the web.
I have read through some of them but still don't get it.
My problem is I want to do:
strQuery = "SELECT * INTO [tblExportTemp] FROM " & qryToExport.Name
Debug.Print strQuery
dbCode.Execute strQuery
the qryToExport is a query. Debug window display:
SELECT * INTO [tblExportTemp] FROM qryBS_Facility_sbf
When I run this strQuery in query window, it works fine.
But when running in VBA it throw me "(3061) Too few parameters. Expected 8."
I hope that you guys are not bored to answer such question.
Any suggestion would be appreciate.
I know that there're heap of this error posted on the web.
I have read through some of them but still don't get it.
My problem is I want to do:
strQuery = "SELECT * INTO [tblExportTemp] FROM " & qryToExport.Name
Debug.Print strQuery
dbCode.Execute strQuery
the qryToExport is a query. Debug window display:
SELECT * INTO [tblExportTemp] FROM qryBS_Facility_sbf
When I run this strQuery in query window, it works fine.
But when running in VBA it throw me "(3061) Too few parameters. Expected 8."
I hope that you guys are not bored to answer such question.
Any suggestion would be appreciate.