Jump to content
Server Maintenance This Week. ×

Message field


This topic is 7622 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all,

I created a calc field to display the current record number of a found set.

I would like to use it on a layout to tell users what record they are browsing thru (kinda like the status area in FM).

Works just fine except when i sort in a different order or perform a find.

Then it display things like: Record 64 of 7 found or the numbers are not in sequence. I could be looking at record 4 then next record would display as 7 then 5 etc.

What am i doing wrong??

Thanks for your help.

--Dan

Link to comment
Share on other sites

Your calc field is showing the record number in the context of the whole file, not the found set. What is the actual calculation you're using?

I've encountered this myself, and I end up having to use scripts to set field values rather than a calc (as in, put down a button for Next Record, but have it call a script that both moves ahead and resets the Current_Record field). But I'm going to lurk on this thread and see what more experienced users do.

Link to comment
Share on other sites

This topic is 7622 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.