Jackpotgee
Registered User.
- Local time
- Today, 20:56
- Joined
- Jun 7, 2007
- Messages
- 27
Hi,
I have have a data entry form from which i have removed the built in record navigation and replaced it with my own. I am trying to build a record counter that will display "record x of y" where "y" is the number of records entered in this session and not the total number of records in the table.
The code below works whilst entering new records but once you goto a previous record the total records displayed is the total in the table (1095) and not the total entered since the form was opened (3 for example).
Any clues on what I'm doing wrong?
I have have a data entry form from which i have removed the built in record navigation and replaced it with my own. I am trying to build a record counter that will display "record x of y" where "y" is the number of records entered in this session and not the total number of records in the table.
The code below works whilst entering new records but once you goto a previous record the total records displayed is the total in the table (1095) and not the total entered since the form was opened (3 for example).
Code:
Me.RecordNumber = [CurrentRecord] & " of " & IIf([NewRecord], [CurrentRecord], DCount("*", "Tbl_Referrals"))
Any clues on what I'm doing wrong?