Total and current records

M

Mario

How to get a number of total records and a number of current record in a
form using VBA
 
A

Allen Browne

Current record is:
=[Form].[CurrentRecord]

Total records is:
=[Form].[RecordesetClone].[RecordCount]

(The total may not be correct initially, as it actually reflects the number
loaded so far until all records are loaded.)
 
Top