Raybaudi Posted June 18, 2006 Posted June 18, 2006 Hi there is no way to land (and highlight) a portal row into a TAB control, that contains more than one portal ? I mean after a GTRR and come back. It is simple to land to the right TAB... but to land to the right ROW ?
Razumovsky Posted June 18, 2006 Posted June 18, 2006 Hi, Was just hammering this out a few day ago. I think I used set variable $row= get(portalrownumber) GTRR Do your stuff here go to field (your tab/portal specific field) go to portal row ($row) go to field (your tab/portal field again) The trick was going to the field both before and after the portal row step. The logic being, go to field to select the tab and portal, go to the correct row, and go back to the field again for data entry in the row. HTH -Raz
Raybaudi Posted June 18, 2006 Author Posted June 18, 2006 go to field (your tab/portal specific field) go to field (my tab) is easy... how do you manage the go to portal specific field? The trick was going to the field both before and after the portal row step. ...this way the portal row never will be highlight BTW: if your file works as I wish, can you send it to me ?
Razumovsky Posted June 18, 2006 Posted June 18, 2006 (edited) ...this way the portal row never will be highlight Sorry! I was solving my problem (data entry) not yours (highlight). All you need is to get rid of the last go to field. A portal specific field is just that: a field that is only in that portal on that layout (could be hidden or visible). It could be the same as the tab specific field, but I can not say without knowing the details. Here is a simple example. PortalRow.fp7.zip Edited June 18, 2006 by Guest added portal specific explanation
Raybaudi Posted June 18, 2006 Author Posted June 18, 2006 Hi Razumovsky thanks for your example. But my needs are different... One portal for each TAB Get a look at the attached file. TabEPortali.zip
Razumovsky Posted June 18, 2006 Posted June 18, 2006 Actually, your needs are pretty much the same, just a different approach to the layout. Since you are using different relationships for each portal, you do not need different fields, as go to field Portal1::Field1 will bring you to the portal in tab 1 and go to field Portal2::field1 will get you to the portal on the second tab. I also changed it to a global variable, as you want the return script to run outside the confines of the initial script, and you do not need to specify the portal row number with the script parameter as that can be fetched from within the script. See the tweaks I made to your file. Cheers, -Raz TabEPortali.fp7.zip
Raybaudi Posted June 18, 2006 Author Posted June 18, 2006 Many thanks, that solves the problem ( only a minor error when you GTRR from TAB 2 )
Recommended Posts
This topic is 6751 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