Microquest Posted November 8, 2004 Posted November 8, 2004 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
-Queue- Posted November 8, 2004 Posted November 8, 2004 GTRR must be activated before any script steps that would take selection away from the portal, such as Exit Record/Request. Does that help?
Microquest Posted November 8, 2004 Author Posted November 8, 2004 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]
-Queue- Posted November 8, 2004 Posted November 8, 2004 What does the external script look like? Is FolkTech the same relationship as the portal uses?
Microquest Posted November 8, 2004 Author Posted November 8, 2004 The external script is: Allow User Abort [Off] Go To Layout ["CD Profile"] Enter Browse Mode [] FolkTech IS the same relationship as the portal uses.
-Queue- Posted November 8, 2004 Posted November 8, 2004 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?
Microquest Posted November 8, 2004 Author Posted November 8, 2004 The button is the Field, which appears to be fully within the first row of the portal. The files are 98 MB. Where can I send them to? Mark.
-Queue- Posted November 9, 2004 Posted November 9, 2004 Just make two clones, zip, and attach them here.
-Queue- Posted November 9, 2004 Posted November 9, 2004 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.
Microquest Posted November 10, 2004 Author Posted November 10, 2004 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now