Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

GTRR Show Related Records ONLY


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

Recommended Posts

Posted

I am using Go To Related Records (GTRR) to toggle between files using a button in a portal. The first click-through shows all records (bad). The next click-back shows just the selected set (good). Each subsequent click-through show just the selected records in each file (good).

How can I make the first click-through show only the selected set?

I'm using a script, GTRR w. Show Only, external script to go to layout and mode.

Thanks for any input

Mark

Microquest

Posted

GTRR must be activated before any script steps that would take selection away from the portal, such as Exit Record/Request. Does that help?

Posted

I believe GTRR is activated before leaving the portal:

script:

Allow User Abort [Off]

Go To Related Records [show, "FolkTech"]

Perform Script [sub-scripts, External: "FolkTech.fp5]

Posted

What does the external script look like? Is FolkTech the same relationship as the portal uses?

Posted

Just fyi, the only step you need is Go to Layout. You already turned off user abort in the main script, and the file should already be in Browse Mode after a GTRR.

Is your button fully within the first row of the portal? Could you zip and attach your files for us to check?

Posted

Try using Case( ARCHDATA <> "T", COMP_ID ) for your CompPortalMatch field. If that doesn't work, zip and attach only the two pertinet files (CompanyTech and FolkTech) with a small sample record set that doesn't currently work for you.

Posted

Found a solution.

The problem (GTRR bringing up ALL, despite being set at Show Related Only)

ocurred only after switching directly from Search Layout 1 to Search Layout 2 (or vice versa) and then toggling between files. All subsequent toggles performed correctly.

I added a line to the scripts that take you from one search screen to the other: Enter Browse Mode

This fixed it (for some reason).

Thank you -Queue- for your insight and time.

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