Hi All-
I have researched this and understand I need to change my query critera to account for the subform, but it is still asking for parameter values after this update..
Summary:
I have two Date Picker Boxes on the sub form which tells the query the date ranges which populates a pivot chart. The form works perfectly as a stand alone with the critera of:
I then placed this form in to the main form and got a parameter value error, so I researched and changed my criteria to this to account for the subform as I have read on this forum:
Where frmCostTracker is the main form, frmDateChart is the subform, and StartD and EndD are my Date Picker Text Boxes.
Yet I still get the parameter value error, I also now I get it on both the subform and on the form if I open it stand alone.
Any Ideas?
I have researched this and understand I need to change my query critera to account for the subform, but it is still asking for parameter values after this update..
Summary:
I have two Date Picker Boxes on the sub form which tells the query the date ranges which populates a pivot chart. The form works perfectly as a stand alone with the critera of:
Code:
>=[Forms]![frmDateChart]![StartD] And <=[Forms]![frmDateChart]![EndD]
I then placed this form in to the main form and got a parameter value error, so I researched and changed my criteria to this to account for the subform as I have read on this forum:
Code:
>=[Forms]![frmCostTracker]![frmDateChart].[Form]![StartD] And <=[Forms]![frmCostTracker]![frmDateChart].[Form]![EndD]
Where frmCostTracker is the main form, frmDateChart is the subform, and StartD and EndD are my Date Picker Text Boxes.
Yet I still get the parameter value error, I also now I get it on both the subform and on the form if I open it stand alone.
Any Ideas?