-----Original Message-----
Nat,
Here's some "homegrown" code I use on all my forms. It works well.
In an "unbound" text control, use this RecordSource... (use your own
names)
=[CurrentRecord] & " of " & Count([YourKeyField]) & " of " &
DCount("YourKeyField","tblYourTable")
If I had 250 records total, and I was on the first record this would
display as 1 of 250 of 250. As you navigate up in records, 2 of 250 of
250, 3 of 250 of 250, etc...
Let's say we have 10 "Smiths" in our records, and I filter the recordset
accordingly.
Now it will display 1 of 10 of 250. Not only does this tell you what
record you're on, and how many records you have, but can be used to
determine if filtering is in effect.
--
HTH
Al Campagna
Candia Computer Consulting
Candia, NH
Nat said:
I'm trying to program a texbox to display the number of
the record in stead of using navigation. Is there anyway
I can do that.
Thank you,
Nat
.