Count Records in Listbox

G

Guest

I have an option group with 4 options and the listbox will then display the
records based on the selection. I have added a textbox to display the number
of records listed in the listbox everytime a selection is done. How do I do
that? Thanks.
ck
 
F

fredg

I have an option group with 4 options and the listbox will then display the
records based on the selection. I have added a textbox to display the number
of records listed in the listbox everytime a selection is done. How do I do
that? Thanks.
ck

As Control Source in an unbound control:
=ListBoxName.ListCount
 
E

Ed

CK said:
I have an option group with 4 options and the listbox will then display the
records based on the selection. I have added a textbox to display the number
of records listed in the listbox everytime a selection is done. How do I do
that? Thanks.
ck

Try:
=ListBoxName.listcount

Ed
 

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