deego55 Posted June 22, 2006 Posted June 22, 2006 Newbie here. I have a self join relationship for Tasks. I have a layout that shows a portal of a few fields for all the tasks. I want to be able to select one of the portal rows and open it in a new layout to show all of the details for that task. How would i script this with an "open selected task" button on the main task layout? Thanks for any guidance.
Inky Phil Posted June 22, 2006 Posted June 22, 2006 Presuming that the layout that shows the portal is the main task layout to which you refer all you need to do is out a button on the first portal row and attach a 'Go to related record' step. This button will appear on each row and will take you to the task on that row.You are given an option for which layout you wish to use to display your chosen task HTH Phil
deego55 Posted June 22, 2006 Author Posted June 22, 2006 yeah i thought of that. but in order to remain consistant with how the rest of the db looks i was hoping to have just one button on the main layout, outside of the portal if that is not possible i can use this option.
comment Posted June 22, 2006 Posted June 22, 2006 It's possible, but if no portal row is selected before the button is clicked, you will end up in the first related record. So the script needs to check: If [ Get ( PortalRowNumber ) ] Go to Related Record [] Kind of weird interface from the user's point of view, though - having to select the row AND click a button outside.
deego55 Posted June 22, 2006 Author Posted June 22, 2006 thanks comment. that is the way they want it designed. ideally they would like to be able to double click the portal row and have it open that way. this works great though, thanks!
mluka Posted June 27, 2006 Posted June 27, 2006 Then, why not have one button, covering the row, that sends them to the details layout? Heck, they wouldn't even have to double click: a single click would do it! :)
Recommended Posts
This topic is 6725 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