January 3, 201115 yr Hi everyone, I am trying to figure out if there is a way to change the initial row of a portal through a script. I found the following post, which seems to indicate it is not possible: http://fmforums.com/forum/topic/31297-change-initial-row-via-script/ However, that post is from 2005 so I'm hoping maybe there is a solution now! If you have any suggestions I would appreciate it, Thanks rori
January 3, 201115 yr Perhaps one of these can help: http://fmforums.com/forum/showpost.php?post/201804/ http://fmforums.com/forum/showpost.php?post/356203/
January 3, 201115 yr Author Thanks for those suggestions - the second post looks like it might be helpful.. I'm basically trying to display the associated images for a record. Except that they are supposed to be displayed in a grid, say 4 x 4 so 16 images on a page, then when you click next, you see the next 16 images, etc. Each portal row is displayed separately in a different portal to allow me to have a grid. So the first portal has initial row=1, num rows=1, the second has initial row=2, num rows=1, etc So I'll see what I can do based on the second example you posted. although I would also be curious to know how I can change the initial row with a script trigger... Thanks rori
January 3, 201115 yr I would also be curious to know how I can change the initial row with a script trigger... The initial row of a portal cannot be changed. You can only change which records are related (my first example) or which related records are shown in the portal (my second example - version 11+ only).
January 3, 201115 yr The initial row of a portal cannot be changed. But you can perform a script that let you show a calculated row of a portal with unique row ( provided that that portal can scroll ).
January 3, 201115 yr Or you can use a global field with 16 repetitions. An OnRecordLoad script trigger can set their initial states, and then a script attached to a button can load the next 16 images.
Create an account or sign in to comment