Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

* in a number field

Status
Not open for further replies.

cochise

Technical User
Mar 27, 2001
171
US
I have numerous queries that refer to a combo box on a switchboard form for the criteria value for the query. On my queries in the criteria field under a EmpNum field (number/integer) I have the following text:

Like [Forms]![Switchboard]![Report Form].Form.cmbEmpNum

I would like the query to sort using "*" for all employees, however, it won't allow me to set the combo box to "*". I'm assuming that's b/c I'm using a number/integer data type. Does anyone know how I can go about this?
 
Okay, I figured it out. If curious, I created a non-visible text box which either had a value of my combo box or a "*" and changed my query criteria to reference the new text box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top