N
ng
I have a pivot table query that returns data let's say
quantity based on dates. The user inputs the date range.
e.g.
2003-01 550
2003-02 500
....
I have created a report based on this query. Since the
dates can change I want to change the control source of
the text box on report.
In the "On Open" event I want to set the controlsource as
Me!Month1.ControlSource = fldQueryDef.name
I get a run-time error that this is not supported.
If I do
Me!Month1.ControlSource = "2003-01" I don't get an error.
Any help is appreciated.
Thanks,
ng
quantity based on dates. The user inputs the date range.
e.g.
2003-01 550
2003-02 500
....
I have created a report based on this query. Since the
dates can change I want to change the control source of
the text box on report.
In the "On Open" event I want to set the controlsource as
Me!Month1.ControlSource = fldQueryDef.name
I get a run-time error that this is not supported.
If I do
Me!Month1.ControlSource = "2003-01" I don't get an error.
Any help is appreciated.
Thanks,
ng