nick_jp Posted December 9, 2007 Posted December 9, 2007 Hi, I want to have a screen where a user sees two lists of clients, one list is called "include" and the other "exclude". Each client record has a field called include, which is set to 1 or 0. The parent record contains a two global number fields, equalling 1 and 0. These drive the portal relationship. (I know you can do with just one global field and have equal or not equal... but I did it this way for clarity). Clicking a button on either portal switches the value of the include field. I want to have the record jump from one portal to the other as soon as the button is clicked. Currently I can't do this without manually clicking on the background of the parent record. I can hack a workaround by going to find mode and back to browse mode, but this refreshes the portal scroll bar. Refreshing the window doesn't help either. Is there a scriptable step that will help me out here?
IdealData Posted December 9, 2007 Posted December 9, 2007 Thought about using tabs to hold the 2 portals? With careful alignment you can't see the switch.
comment Posted December 9, 2007 Posted December 9, 2007 The child record needs to be committed before it will "jump" to the other portal - that's what "manually clicking on the background of the parent record" does. Unfortunately, I cannot see your file (forum's upload is on the blink again), but you need to end your script with a Commit Records[] step. To keep your current scroll position, uncheck 'Reset scroll bar when exiting record' in Portal Setup.
Recommended Posts
This topic is 6194 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