Garry Claridge Posted December 7, 2001 Share Posted December 7, 2001 I discovered that when looping through a portal, which has more entries than displayed, the loop is limited to the last displayed row. Increasing the size of the portal fixes the problem. Is there a better way? I have been using Global variables to keep track of the row numbers. I set the last row number by using the 'Goto Portal Row[last]' and 'Status(CurrentPortalRow)' functions. I could try using the Count() function! Thank you. Garry Link to comment Share on other sites More sharing options...
AndriesV Posted December 7, 2001 Share Posted December 7, 2001 I don't have a definite answer, does your portal have a vertical scroll bar to allow navigation to below the maximum number of displayed rows? Link to comment Share on other sites More sharing options...
droosan Posted December 7, 2001 Share Posted December 7, 2001 I remember running into that. I didn't find a solution other than what you mentioned. I'd be happy if anyone has. You know you can make a layout which has no purpose other than running that script, have the script go to it and come back to the original layout before it finishes? Link to comment Share on other sites More sharing options...
FUBAR Posted December 7, 2001 Share Posted December 7, 2001 I think AndriesV gave the correct solution. I have a similar design where the portal has a vertical scroll bar and my loop works fine. Take the scroll bar away and it doesn't. Seems a bit picky to me but at least now you know Link to comment Share on other sites More sharing options...
Garry Claridge Posted December 8, 2001 Author Share Posted December 8, 2001 Yes it was the scroll-bar, forgot to check the box. It is on a purpose-built layout, in my line-items file, for Bill-of-Materials pruposes; who needs scroll-bars for that ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8168 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 accountSign in
Already have an account? Sign in here.
Sign In Now