Help counting Rows in a list.

  • Thread starter Thread starter Lipoio
  • Start date Start date
L

Lipoio

I have already a table in Listbox, stil i was wondering if there was an
expression or function so i can get the number of records in the list. So i
can display this number in another text box . I know is quite a starter
question but i can´t find the function or a solution to this problem. Someone
with an advice??.
 
In the Control Source property of your text box enter :-

=[YourListBoxName].ListCount

Change the name of YourListBoxName to whatever your list box is
called. Also change the Enabled property to No and the Locked property
to Yes in the text box so users can't try and change it.

HTH

Peter Hibbs.
 
Thanks a lot Peter. I appreciate it.

Peter said:
In the Control Source property of your text box enter :-

=[YourListBoxName].ListCount

Change the name of YourListBoxName to whatever your list box is
called. Also change the Enabled property to No and the Locked property
to Yes in the text box so users can't try and change it.

HTH

Peter Hibbs.
I have already a table in Listbox, stil i was wondering if there was an
expression or function so i can get the number of records in the list. So i
can display this number in another text box . I know is quite a starter
question but i can´t find the function or a solution to this problem. Someone
with an advice??.
 

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

Back
Top