stublito Posted May 12, 2008 Posted May 12, 2008 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.
Fitch Posted May 12, 2008 Posted May 12, 2008 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.
stublito Posted May 12, 2008 Author Posted May 12, 2008 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
comment Posted May 12, 2008 Posted May 12, 2008 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). 1
Alex Quinlan Posted April 29, 2015 Posted April 29, 2015 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.
Recommended Posts
This topic is 3496 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