S
swas
Hello,
I have a pivotchart to display some data, and works fine including filtering
on open using
DoCmd.OpenForm strFormName, acFormPivotChart,,filterdata etc...
I want to insert this pivotchart in a report, and all works fine except for
referencing the subform filter property,
me.subSubFormName.form.filter = "XYZ"
I get an error "---------------------------
Report_Open_Error
---------------------------
2455 You entered an expression that has an invalid reference to the property
Form/Report.
---------------------------
OK
---------------------------
I don't know how to reference the filter property in the subform, and to be
the above code should work. I am assuming my problem lies in placing a form
in a report, or perhaps perculiar to pivotchart view?
Any help?
Thanks
swas
I have a pivotchart to display some data, and works fine including filtering
on open using
DoCmd.OpenForm strFormName, acFormPivotChart,,filterdata etc...
I want to insert this pivotchart in a report, and all works fine except for
referencing the subform filter property,
me.subSubFormName.form.filter = "XYZ"
I get an error "---------------------------
Report_Open_Error
---------------------------
2455 You entered an expression that has an invalid reference to the property
Form/Report.
---------------------------
OK
---------------------------
I don't know how to reference the filter property in the subform, and to be
the above code should work. I am assuming my problem lies in placing a form
in a report, or perhaps perculiar to pivotchart view?
Any help?
Thanks
swas