checking count of List Box

G

Guest

Hello all,

Is there a way to see what a list box contains, kind of like a DCount
function? I am using a list box as a queue and I would like to know how many
records it contains.
I could use the DCount with the same criteria as what populates my list box,
but there is an overhead concern.
 
R

ruralguy via AccessMonster.com

Look at the ListCount property of the ListBox.
Hello all,

Is there a way to see what a list box contains, kind of like a DCount
function? I am using a list box as a queue and I would like to know how many
records it contains.
I could use the DCount with the same criteria as what populates my list box,
but there is an overhead concern.
 
F

fredg

Hello all,

Is there a way to see what a list box contains, kind of like a DCount
function? I am using a list box as a queue and I would like to know how many
records it contains.
I could use the DCount with the same criteria as what populates my list box,
but there is an overhead concern.

=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