Brian Dunning's FileMaker Custom Functions

PortalScrollPosition ( portalName ; objectName ; totalPortalRows )

Returns the scroll position of a portal (number of the first and last fully visible row in a portal, separated by ¶)

  Be the first to rate this function Log in to vote

Stefan Münger   Stefan Münger - Show more from this author
University of Bern

Share on Facebook Share on Twitter

  Sample input:
PortalScrollPosition ( "portalName" ; "objectOrFieldNameWithinPortal" ; 123 )
  Sample output:
3¶27 //first and last visible row of portal

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the scroll position of a portal (number of the first and last fully visible row in a portal, separated by ¶/char 13 (requires FM 18+).

Parameters:
portalName (text): name of the portal
objectName (text): object within the portal, typically a field
totalPortalRows (number): total of visible and invisible portal rows; use: Count ( tableName::fieldName )

 

Comments

Josh Ormond   Josh Ormond, Iozax, LLC
Aug 16, 2019
This line references a literal table:field.

| $ii = Count ( chapters_all::d_uuid ) ;
 
Josh Ormond   Josh Ormond, Iozax, LLC
Aug 16, 2019
This line references a literal table:field.

| $ii = Count ( chapters_all::d_uuid ) ;
 
Stefan Münger   Stefan Münger, University of Bern
Aug 16, 2019
Thanks. I corrected this.
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: