List View top visible record
List View top visible record
(OP)
I have a list view layout that has a lot of find functionality that constrains and extends the found set. This functionality works great except when I am scrolled down the screen a little ways when the founds are preformed my scroll bar resets to the top. Any one know how to keep this from happening of at least be able to calculate the top viable record so I can return the scroll bar back to the position it was at before the find was executed?
I have been able to do smiler things in a portal using custom functions to identify the top viable portal row and return that record back to the top of the portal so the records in the portal remain in the same position even if you leave the layout and return. The custom functions I used for that came from http://www.briandunning.com/cf/1243 but I need to do the same sort of thing in list view.
I am running Filmmaker Pro 11 advanced on a Windows 7 System
I have been able to do smiler things in a portal using custom functions to identify the top viable portal row and return that record back to the top of the portal so the records in the portal remain in the same position even if you leave the layout and return. The custom functions I used for that came from http://www.briandunning.com/cf/1243 but I need to do the same sort of thing in list view.
I am running Filmmaker Pro 11 advanced on a Windows 7 System
RE: List View top visible record
Are you saying it jumps into find while your scrolling.
Why are you trying to get back to the previous position after a find...I'm thinking the record may not exist in the found set.
not sure if this applies but capture the Record ID prior to the find Set it as a global variable.
Script Step: Set Variable [$$var; Value Get ( RecordID )]
//Let your find do what it Does
Script Step: Perform Find[]
//Assuming we go to our final set of find criteria try to get back to the same record
//using go to record by calculation
Script Step: Go to Record/Request/Page [$$var]
Script Step: Scroll Window [To Selection]
Ralph S. Louis
FileMaker Certified Developer
Peninsula Computing Solutions Group,(PenCSG)
www.pencsg.com