Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List View top visible record

Status
Not open for further replies.

anyjoe2000

Programmer
Feb 9, 2006
6
US
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 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 guess my first question is. Whats triggering the find? Is it a manual process, On Timer script?

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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top