May 12, 200817 yr Sorry, new to FMP 9. I have a portal with multiple rows. I need a button/script that will copy a value from a field in portal row X, by clicking on a button IN THE SAME ROW. I guess the problem is that clicking the button in a specific row of a portal does not first select that specific portal row (related record) for the copy/set field whatever command. Thank you.
May 12, 200817 yr Not true. A button on a portal row does in fact "know" what row you clicked -- until you do something to take you out of the row such as commit the parent record in your script. E.g., assuming your button is running a script, and not just a Copy command, try setting the portal field you want to grab as the script parameter. If you show me more of your script I could advise you where it's going wrong.
May 12, 200817 yr Author Thank you for responding. I just want to navigate to that particular portal row record by clicking a button in that portal row. "Go To Related Record" doesn't work. If I copy the Rec ID from that record and do a find for it (outside the portal), that obviously works. I was trying to script that. Peter
May 12, 200817 yr It should work the way you describe, so check your implementation. Most common causes of problems are specifying the wrong table occurrence to go to, or leaving the portal row too soon (as Tom explained).
April 29, 201510 yr Most common causes of problems are specifying the wrong table occurrence to go to, or leaving the portal row too soon (as Tom explained). Thank you.
Create an account or sign in to comment