Jump to content

Button To Get Value From Portal Row


stublito

This topic is 3277 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 6 years later...

This topic is 3277 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.