Hi
I have a form with 2 combo boxes on to select the month and year for the criteria of a query. The date has been formatted using Format([Last day],"mmm/yy"), and the first combo box has the month in, and the second the year eg. JAN 02.
Can anyone help me with the expression I need to combine the two boxes to use as the criteria. At the moment I have :
Forms![PERIOD SELECT]![Combo0].Text & "/" «Expr» Forms![PERIOD SELECT]![Combo2].Text
But this doesn't seem to work. If I enter the criteria as JAN/02 manually then the query produces the desired result but not with this expression.
Any help would be greatly appreciated.
Paul
I have a form with 2 combo boxes on to select the month and year for the criteria of a query. The date has been formatted using Format([Last day],"mmm/yy"), and the first combo box has the month in, and the second the year eg. JAN 02.
Can anyone help me with the expression I need to combine the two boxes to use as the criteria. At the moment I have :
Forms![PERIOD SELECT]![Combo0].Text & "/" «Expr» Forms![PERIOD SELECT]![Combo2].Text
But this doesn't seem to work. If I enter the criteria as JAN/02 manually then the query produces the desired result but not with this expression.
Any help would be greatly appreciated.
Paul