portals and related forms

I have a portal with 32 rows in there.

The portal shows no more than 18 rows at a time.

After startup, when I select a row and open a form from that portal I only see 20 rows in the foundset.

When I then go back to the portal and use the scrollbar to go to the bottom/last row of the portal I see the scrollbar shrink and the foundset grow.

When I then select a record the foundset is like it should be 32 rows.

how do you get the number 18?
do you see them in youre screen?

same for the 20 you see in the portal..
do you see (really see) only 20 and there should be more rows displayed?

if you scroll down in the form that sees 20 doesn’t it also fill in to 32??

The 18 rows fills the portal, that’s what I actually see.

The 20 rows are shown (in record view) while I should see all 32 records I guess (it is less then 200).

I can either go back to the portal, scroll to below, and select a record again. Or I do a ‘controller.recordIndex=controller.getMaxRecordIndex()’.
Both will get me to record 32…

how do you see that number??
doe you really count what you see (the number of records in side the portal)
or are you looking at maxRecordIndex?

In the portal I count what I see and I see the scrollbar handle getting smaller (don’ know for win but the scrollbar handle somewhat shows the percentage of the total rows that you show so that means that, by moving the scrollbar handle the selection gets bigger).

In the form where I show the record(s) in recordview I do a getMaxRowIndex…