Newbies stevenjo57 Posted March 8, 2001 Newbies Posted March 8, 2001 I have a portal list within a parent database. I want to click on the specific line in the portal and have it take me to that record in the child database. No matter what I do, the "go to related record" script takes me to the first related record in the child database. I don't want the first one! I want the one I click on! Thanks in advance.
BobWeaver Posted March 8, 2001 Posted March 8, 2001 Place a transparent button over the portal row. Format the button to "Go to Related Record." If it's done right in the portal row it works. If you are selecting the row and then clicking a button somewhere outside the portal, the default portal row number will immediately revert to 1, and that is the related record that you will go to.
Keith Silva Posted March 9, 2001 Posted March 9, 2001 As Bob describes, I use a button outside the portal to do what you are describing. I like this approach because the function of the button is obvious due to its label. The function of the transparent button isn't always obvious to the user (after all, its transparent). The user first clicks on the portal row they are interested in, and then presses the button. The button executes a two-step script. The first step is a "Go to Related Record" in the child file. The second step is an external script in child file that is also "Go to Related Record," and opens the appropriate layout. This will take the user to the correct record in the portal row. Good luck, Keith Silva
Vaughan Posted March 9, 2001 Posted March 9, 2001 Bob is talking about putting a button *inside* the portal row. He states that a button outside the protal won't work, it'll only ever go to the first row.
LiveOak Posted March 9, 2001 Posted March 9, 2001 You CAN do it with a button outside the portal row, BUT you must create another relationship based upon a global, make sure a portal row is selected, set the global to the index of the portal row, a "go to related record" for the global relationship. -bd
Keith Silva Posted March 10, 2001 Posted March 10, 2001 Thanks LiveOak. I knew that a button outside the portal works, but I didn't know why. Your explanation of the global matches my setup and provides the reason why it works. Thanks, Keith Silva
BobWeaver Posted March 12, 2001 Posted March 12, 2001 Sorry, I didn't mean to mislead anyone into thinking that you can't put the button outside the portal. I just find that the button inside the portal avoids extra setup work and is often all a person needs.
Keith Silva Posted March 22, 2001 Posted March 22, 2001 Hey, no problem. We all see things a little differently, and in the end, that's helpful to everyone. Regards, Keith Silva
Keith Silva Posted March 22, 2001 Posted March 22, 2001 Hey, no problem. We all see things a little differently, and in the end, that's helpful to everyone. Regards, Keith Silva
Gogargirl Posted March 23, 2001 Posted March 23, 2001 Thanks to all of you for this - definitely a big help! You just saved me hours of angst-ridden button-inside or button-outside turmoil. I decided on a transparent button in the portal, but added a script step to put a mark in a field next to the portal, so that I know which row I clicked. It looks great!
Recommended Posts
This topic is 8647 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