DeutchBose
Board Regular
- Joined
- Mar 22, 2004
- Messages
- 83
I have an access query that I'm trying to run through vba code...I'm doing the following:
Dim qdProcess As QueryDef
Dim dbProcess As Database
Set dbProcess = CurrentDb()
Set qdProcess = dbProcess.QueryDefs("aqryLIMAdeals_MMConc")
qdProcess.Execute
"aqryLIMAdeals_MMConc" is an append query that works just fine when I run it in Access...but the code gets hung up with 'qdProcess.Execute'
I get the following error:
'Too few paramaters. Expected 1'
I'm not sure what parameters I would need?
Any ideas?
Dim qdProcess As QueryDef
Dim dbProcess As Database
Set dbProcess = CurrentDb()
Set qdProcess = dbProcess.QueryDefs("aqryLIMAdeals_MMConc")
qdProcess.Execute
"aqryLIMAdeals_MMConc" is an append query that works just fine when I run it in Access...but the code gets hung up with 'qdProcess.Execute'
I get the following error:
'Too few paramaters. Expected 1'
I'm not sure what parameters I would need?
Any ideas?