Jump to content

Display Found Set of records


Gary Weisbrodt

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

Recommended Posts

Hi,

Here's what I currently use, hoping my functions get translated correctly.

Get(TotalRecordsFound) & " record" & Case(Get(TotalRecordsFound > 1;"s ";" ") & "Found"& Case(Get(TotalRecordsFound > 1;"s ";" ") & "on a total " & Choose(Get(Sort);"unsorted";"sorted";"semi-sorted") & " of " & Get(TotalRecordsCount)

Link to comment
Share on other sites

Since you have Developer 7, you might want to consider creating a Custom Function out of it, regardless of what calculation you decide upon. You would need no parameters. CF I use (stolen from a post here on forums by Ray Cologon) displays a bit more ...

Custom Function Name: Records Bar =

"Record " &

TextStyleAdd(Get(RecordNumber); Bold) &

" of " &

TextStyleAdd(Get(FoundCount); Bold) &

If(Get(FoundCount) < Get(TotalRecordCount);

Left(" Records"; 7 + (Get(FoundCount) > 1)) & "

Link to comment
Share on other sites

This topic is 7191 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.