Bruce

There is a way to do this using GetLayoutObjectattribute() to calculate the original pixel position of the portal row and then (on return) doing some calculations to reinstate the portal as it was - it's not exactly 'easy' but if Jason's 'new workspace' method isn't going to work I can post the details

cheers

Tom


On 5 Jan 2008, at 19:34, Bruce Herbach wrote:

I have a working portal with a few hundred lines of data in an FM9 database. The Portal has 24 lines and on each line there is a button that runs a script to create an associated record.

When the script returns it goes back to the same record in the portal but the record is now the bottom line in the open portal. I have been able to use Go to Portal Row to move this up one or two rows but I have not been able to come up with a way to record or return to the original position.

What I would like to do is return to the original position with in viewing area of the portal. So if the selected record is the middle line of the the portal when the script comes back it is still the middle line.

The current method works and is adequate for sequential data entry top to bottom, but it is a bit disconcerting to the user when the moving up an down with in the portal to have the active line jump to the bottom of the portal after the button has been pressed.

Does anyone have an easy way to do this?

Thanks
Bruce Herbach

Reply via email to