Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Different script for different portal row.


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

Recommended Posts

Posted

I have a portal in my DB. I want to put a button in the portal so that it will show up on every row. I then want to assign a script to that button. This script will run in the parent file, not the file being shown in the portal.

Is there a way that when I select the button that I can have a different script run depending on which portal row is being selected?

Larry

Posted

Set Field [ gPortalRow, Status(CurrentPortalRow) ]

If [ gPortalRow = 1 ]

#Do something

Else

If [ gPortalRow = 2 ]

#Do something else

Else

...

End If

End If

This topic is 7523 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.