How to get record count to update as records are added

jereece

Registered User.
Local time
Today, 10:57
Joined
Dec 11, 2001
Messages
300
I have a form that I want to show "Record _ of __". I am using the code below in the Control Source of a text field. My question is how do I get it to update as I add records?

Code:
=IIf([CurrentRecord]>(Count(*)),'New Record',('Record ' & [CurrentRecord] & ' of ' & Count(*)))

Thanks,
Jim
 
This functionality is built in to Access. Just use the navigation bar and you don't need code.
 

Users who are viewing this thread

Back
Top Bottom