Hello everyone !!
I have 2 comboboxes in a form to filter the results of my subform. cboStartPeriod and cboEndPeriod. These 2 comboxes are using a valuelist with years from 2012 to 2030.
In my query that populate the subform, I have a field named "planned_periode" which store a 4-cipher year e.g. 2012.
Im using this expresion as criteria to do the filtering in the query:
Between [Forms]![frmMain]![cboStartPeriode] And [Forms]![frmMain]![cboEndPeriode]
But it doesn't work
In addition, the query have to show all records if the comboboxes are not selected.
Thank you all in advance for your help....
Regards
Pedruc00
I have 2 comboboxes in a form to filter the results of my subform. cboStartPeriod and cboEndPeriod. These 2 comboxes are using a valuelist with years from 2012 to 2030.
In my query that populate the subform, I have a field named "planned_periode" which store a 4-cipher year e.g. 2012.
Im using this expresion as criteria to do the filtering in the query:
Between [Forms]![frmMain]![cboStartPeriode] And [Forms]![frmMain]![cboEndPeriode]
But it doesn't work

In addition, the query have to show all records if the comboboxes are not selected.
Thank you all in advance for your help....
Regards
Pedruc00