Hi,
I have a combo box acting as a filter for a form with the following row source:
1;2;3;4;5;6;7;8;9;10;11;12
It is related to a field which has the following VB code:
If Not IsNull(Me.cboFilterPeople) Then
strWhere = strWhere & "([AvailableNoTickets] = " & Me.cboFilterPeople & ") AND "
End If
...basically I need the combo box to offer values of 1-12 but only return results if the value selected is less than the the value in the corresponding field.
Thanks.
I have a combo box acting as a filter for a form with the following row source:
1;2;3;4;5;6;7;8;9;10;11;12
It is related to a field which has the following VB code:
If Not IsNull(Me.cboFilterPeople) Then
strWhere = strWhere & "([AvailableNoTickets] = " & Me.cboFilterPeople & ") AND "
End If
...basically I need the combo box to offer values of 1-12 but only return results if the value selected is less than the the value in the corresponding field.
Thanks.