Newbies Koray Birand Posted April 14, 2012 Newbies Posted April 14, 2012 Hi Everyone, This is my first post here I need your help.. I have attached the sample file that I am working on. What I am trying to achieve is to have two related lists which when an item is selected from the first list the second one is updated accordingly. I have made two portals in layout "models" which I will be using mainly. Actually it is functioning now but with slight glitches : 1- when I select an item from the first list my hilte gets lost 2- since the record is changed every time when I make a selection the first list is scrolled back to top. Thank you for your suggestions, Koray Birand models_test.fp7.zip
imoree Posted April 14, 2012 Posted April 14, 2012 (edited) Add this script to your scripts: //Name the script GTRR //Name top portal "portal1" in object palette Set Variable [ $row; Value:Get (ActivePortalRowNumber) ] Go to Related Record [ From table: “models 2”; Using layout: <Current Layout> ] [ Show only related records ] Go to Object [ Object Name: "portal1" ] Go to Portal Row [ $row ] [ Select; No dialog ] Edited April 14, 2012 by imoree
Newbies Koray Birand Posted April 14, 2012 Author Newbies Posted April 14, 2012 Add this script to your scripts: //Name the script GTRR //Name top portal "portal1" in object palette Set Variable [ $row; Value:Get (ActivePortalRowNumber) ] Go to Related Record [ From table: “models 2”; Using layout: <Current Layout> ] [ Show only related records ] Go to Object [ Object Name: "portal1" ] Go to Portal Row [ $row ] [ Select; No dialog ] Worked like a charm, thank you so much.
Recommended Posts
This topic is 4606 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