ML2008 Posted May 30, 2004 Posted May 30, 2004 How can I have the layout name and the total number of records show on layouts?
esteshk Posted May 30, 2004 Posted May 30, 2004 Pretty simple really. Create 2 new fields, type:calculation, named CurrentLayout and CurrentFoundCount or something of your liking. I use zc_CurrentLayout and zc_CurrentFoundCount. z to alphabatize them at the end of my field list and c to indicate calculation. zc_CurrentLayout is defined using the Get function, Get( LayoutName ) zc_CurrentFoundCount is defined using the Get function, Get( FoundCount ) You can place these fields on any layout to display the info you want. Take it a step further to enhance the utility of your interface and create the calc field: zc_RecordIndicator: "Record " & Get( CurrentRecord ) & " of " & Get( FoundCount). Make sure the calculation result is text and unstored. This will give you the standard "Record 1 of 250" format users are familiar with. Add to this navigation arrows to move to the First, Next, Previous and Last records and you have it.
Recommended Posts
This topic is 7848 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