Count Items in a List Box?

E

el zorro

I have a List Box on a form. The number of entries on the list increases as
the user enrolls more attendees in a class. There is a capacity limit to the
number if attendees, so I would like the user to be able to quickly get a the
number enrolled without having to put her finger on the monitor and go " one,
two, three..."

I could write a sum query based on the query that drives the list, and show
the count in a text box on the form, I guess, but that seems a little
heavy-handed. Isn't there a slicker way to do this? Like maybe a function
that would read the list and provide a count?

Thanks!
 
F

fredg

I have a List Box on a form. The number of entries on the list increases as
the user enrolls more attendees in a class. There is a capacity limit to the
number if attendees, so I would like the user to be able to quickly get a the
number enrolled without having to put her finger on the monitor and go " one,
two, three..."

I could write a sum query based on the query that drives the list, and show
the count in a text box on the form, I guess, but that seems a little
heavy-handed. Isn't there a slicker way to do this? Like maybe a function
that would read the list and provide a count?

Thanks!

Would you believe:
=ListBoxName.Listcount
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top