simoncpage Posted September 6, 2004 Posted September 6, 2004 See attached. I have used a technique I found for highlighting a current row but as soon as you go to the row of another portal it lose its focus there. Is there anyway of making these portal stay highlighted as you move across them? Any help would be great Thanks mutilple_portals.zip
Fitch Posted September 6, 2004 Posted September 6, 2004 Well naturally Status(CurrentPortalRow) can only work when your cursor is in that row. But that script you're using doesn't even really do anything, except the step Go to portal row (Select, ...) -- it's the Select that is highlighting the row. What I would probably do is set a container field in the related file. This is usually done by storing a highlight color in a global container, then setting another global field to the selected record's serial number (assuming you have a field set up to auto-enter unique serial numbers), and using a calculated container as the actual highlight: Case( gSelectedID = theSelectedRecordID, gHighlight ) So, clicking on a row would trigger a script to set the global field (gSelectedID) to the related record's ID (theSelectedRecordID). Another technique can be found here. It actually highlights the text rather than the background, but would be easy enough to adapt. The bigger difference is that it loops through all the portal records and uses extra fields in the parent file, rather than the related file.
Recommended Posts
This topic is 7722 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