Records question

R

Rpettis31

I have the following code in a new database to list records on form current.
How do I use this code when there are no records as this is a new database.
Me.Dynaset.MoveLast
Me.txtRecordTotal = Me.Dynaset.RecordCount
 
J

Jeff Boyce

Consider using the Nz() function to return a 0.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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