A
Aga Tech via AccessMonster.com
hi all,
I've a dap that has a parameter query (with 2 groupingdefs) as source for
data.
When I run it the browser prompts me a box to input parameter values and
everithing works well.
Now I'm trying to input parameter values via vba using this command:
MSODSC.RecordsetDefs("My Query").ParameterValues.add ["My Parameter"], "My
value"
But it doesn't work.
Can anyone tell me why?
Please I really need your help!
tanx
P.S.
Sorry for my bad english ;-)
I've a dap that has a parameter query (with 2 groupingdefs) as source for
data.
When I run it the browser prompts me a box to input parameter values and
everithing works well.
Now I'm trying to input parameter values via vba using this command:
MSODSC.RecordsetDefs("My Query").ParameterValues.add ["My Parameter"], "My
value"
But it doesn't work.
Can anyone tell me why?
Please I really need your help!
tanx
P.S.
Sorry for my bad english ;-)