S
Steve
I need help with a function to be used as the criteria for a query. The field in
the query is InventoryStatus:[Inventory] - [ReorderPoint]. The function is built
around a Select Case set of about twelve cases.
Function MyCriteria()
Select Case Forms!MyForm!MyCbx
Case 1
My Criteria = "<0"
Case 2
MyCriteria = "0"
Case 3
My Criteria = "Between 1 And 3"
Case 4
My Criteria = "Between 1 And 6"
etc
End Select
End Function
The above doesn't work!
Thanks for all help!
Steve
the query is InventoryStatus:[Inventory] - [ReorderPoint]. The function is built
around a Select Case set of about twelve cases.
Function MyCriteria()
Select Case Forms!MyForm!MyCbx
Case 1
My Criteria = "<0"
Case 2
MyCriteria = "0"
Case 3
My Criteria = "Between 1 And 3"
Case 4
My Criteria = "Between 1 And 6"
etc
End Select
End Function
The above doesn't work!
Thanks for all help!
Steve