Jump to content

This topic is 7404 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am using portals to display 10 records at a time in the web browser. Is there a way to have a button on the layout that will show the next 10 records in the portal (and previous 10 records)?

thanks in advance

Posted

Click inside the scroll bar. But if you want exactly 10, I'm not sure--the script step Window | Scroll Window might work but I've never used it.

Posted

Hi there,

There is a script that allows you to go to a certain portal row via a calculation. I've not tried this but i'm sure you could set up a button with this script on it. the calculation might be something like go to portal row(current row + 10) to move on 10 places. one idea would be to select the first portal row and then add 10. If you press the button again then select the first row and add 10*2 (=20). Then if you click the previous ten button you could get it to select the first row and add 10 (i.e. going back 10 places (20 -10)).

You would need a global storage field for this to store the the calculation results so you know how many times the button has been pressed and what number you need to move up or down

Posted

That sounds good. The script step is

Go to Portal Row [<first/last/previous/next/by calculation>]

So you can choose "by calculation" and use Get( PortalRowNumber ) + 10 ; I imagine you would need two buttons, one as stated and one with Get ( PortalRowNumber ) - 10.

Posted

I have finally gotten a chance to try out the "go to portal row +10" and I have discovered if the "show vertical scroll bar" is not turned on the calculation will not work. It will only progress to the maximum number of records selected in the Portal Setup. I don't want the vertical scroll bar turned on because of the time the browser takes to load all the records. Anyone have any ideas?

This topic is 7404 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.