Display number of records

G

Guest

I have a text box that displays the number of records as follows "5 Records"
How can I change "records" to display "Record" if there is only one record
found.

Thanks

Andy
 
G

Guest

Try

me.txt_Records = me.recordsetclone.recordcount & " record" _
& iif(me.recordsetclone.recordcount = 1, "", "s")

HTH
Dale
 

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