Hi,
Can anyone help me on this ?
I have a table where I list the months by their numbers, "1", "2", etc in a column.
On a form I have a comboBox [Combo46] based on that column to select the month.
Now I would like to add quarters "Q1", "Q2", "Q3", "Q4"
I have tried entering values in my table column such as "Between 1 And 3" to return it to the query, but it does not work .
I have also tried to enter this in the Field Criteria on the Query:
IIf([Forms]![Select Purchase report]![Combo46]="Q1",[Purchase]![SupInvoiceMonth] Between 1 And 3,[Forms]![Select Purchase report]![Combo46])
The field [SupInvoiceMonth] is the field where I have the months numbers"1", "2", etc
but this also does not work either.
Thank you for your help.
Phil
Can anyone help me on this ?
I have a table where I list the months by their numbers, "1", "2", etc in a column.
On a form I have a comboBox [Combo46] based on that column to select the month.
Now I would like to add quarters "Q1", "Q2", "Q3", "Q4"
I have tried entering values in my table column such as "Between 1 And 3" to return it to the query, but it does not work .
I have also tried to enter this in the Field Criteria on the Query:
IIf([Forms]![Select Purchase report]![Combo46]="Q1",[Purchase]![SupInvoiceMonth] Between 1 And 3,[Forms]![Select Purchase report]![Combo46])
The field [SupInvoiceMonth] is the field where I have the months numbers"1", "2", etc
but this also does not work either.
Thank you for your help.
Phil