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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box Value Count

Status
Not open for further replies.

dlene

IS-IT--Management
Mar 29, 2005
11
US
I have a combo box listing several choices for the [status] of a record. I need a summary form showing how many records have "x" status; how many have "y" status; how many "x" or "y" status, along with various other combinations and then the total count of records. These values are derived from an underlying table using the Lookup List.
 
Good morning:

Thank you for your response.

I'm sorry, but I'm still confused. I identified the information below in the Criteria of my query but it tells me something about a 'string being less than 255 characters.' I then tried the same syntax in a text box on my form and get the Name error. In my query I added my Forfeitures table and then added the Item No and Status fields only to the grid as follows:

intX = DCount("[item no]", "Forfeitures", _ "[status]" = 'destroyed')


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top