Link to home
Start Free TrialLog in
Avatar of rvfowler2
rvfowler2Flag for United States of America

asked on

FM - Best Way to Go to RR in External DB and Back Again

What would be the best way to go to a RR in an external db's layout and then return easily again given the following.  In the first db, Sales Leads, you have a portal at the bottom that shows all Vacancies a customer might be interested in.  This has a GTRR that brings you to the Vacancy db and layout.  However, a Lead is not related in any way to a particular vacancy, so how do you get back?  

I could set up a global in Vacancies and set it to the RecID of the Lead record that I am leaving and then have a Return button in Vacancies that takes me back using that global.  Any better way?  Maybe use the Hide Window and then Restore Window command, but not sure that would be reliable.

P.S. - I'm again having a problem.  GTRR works great by itself as one step when I set the appropriate portal field as a button.  However, if I try to put the GTRR in a script step (in this case so I can have an extra script step to capture the RecID in a global) it does NOT work.  I've been through this before and people don't believe me so attached are the screen prints.  Maybe a script works only in the local db, so cannot go to a related record in another db?  But then why does the external tables layouts show and are not grayed out or something?
GTRR-inscript.JPG
GTRR-singlestep.JPG
SOLUTION
Avatar of North2Alaska
North2Alaska
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rvfowler2

ASKER

Thanks N2A for the separate window idea; I can still close it when finished, and thanks to Will for soving something that's been puzzling to me for awhle - why GTRR sometimes works within a script and sometimes not.  Probably doesn't work within a script when called from a portal, but will test and post this afterward.
GTRR  should work just fine from within a portal but only as long as the focus stays in the portal. If you move away from the related portal record, there is no longer a "RR" to "GT".