Gary Weisbrodt Posted September 9, 2004 Share Posted September 9, 2004 What is the easiest way to display the number of records found out of number of records on a layout? Found: 56 Total: 6,789 Link to comment Share on other sites More sharing options...
Ugo DI LUCA Posted September 9, 2004 Share Posted September 9, 2004 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 More sharing options...
MoonShadow Posted September 10, 2004 Share Posted September 10, 2004 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now