ricardito Posted February 12, 2004 Posted February 12, 2004 Hi all, Have a self relationship and in the portal want to mark which record user is on with a different color. Any suggestions? Ricardito
Lee Smith Posted February 12, 2004 Posted February 12, 2004 Hi Ricardito, There are a few tip file available that shows how to do this. You will find a couple of them at John Mark Osborne site: http://www.databasepros.com do a search for Highlight Portal Row HTH Lee
ricardito Posted February 12, 2004 Author Posted February 12, 2004 Thanks Lee, couldn't find anything on how to hilite the current record. Found how to do an entire row and things like that.
Lee Smith Posted February 12, 2004 Posted February 12, 2004 I'm confused, the row in a portal is the current record. Are you trying to highlight something else. I'm I being confused by the mention of the Portal, Self Relationship, etc. Maybe you can attach a sample file or try a different approach on describing your problem. Lee
ricardito Posted February 13, 2004 Author Posted February 13, 2004 sorry, the ones I've found hilite a column, not a row. Basically it's a self relationship that shows all of one persons records so in each record they can see all their records in the portal and click on it to go that record. I'd like to hilite the current record to distinguish in the list. R
Leb i Sol Posted February 13, 2004 Posted February 13, 2004 see attachement > after getting column-row issue resolved! Row=Record! no coumns in Portals....fields are lined up to give you vertiacal presentation of records but it is not a 'table.column' like you would find in Excell or Access.... Highlight.zip
LaRetta Posted February 13, 2004 Posted February 13, 2004 I like the file Alen, thanks for sharing it! You have some great ideas there! But I think what Ricardito is asking for is a bit different yet. I've also tried to highlight the current portal row, depending upon which main record was being veiwed. It's not easy to get it to display reliably. I did, however, find a post which explains how to do it. I haven't implemented it yet, but I trust the Responder. Highlight Current Record I think what is wanted is that, as you scroll through your main records, the portal highlights the selected record. If you don't find your solution in other ideas, Ricardito, this might be worth checking out. LaRetta
Leb i Sol Posted February 13, 2004 Posted February 13, 2004 Hi LaRetta! I must have missunderstood the question....why would u highlight "main record"....it is the only record viewed anyway?no?.. if there are 2 portals the concept still stays the same except you would GO to related and backlight it.... Cobalt's script is not different than mine (he used "Case" statement and here used is "IF") perahps I should have noted that "selecting"record triggers the script that sets the backfield = to field that holds image.... Anyhow,perhaps if Ricardito can attach his original file we can get better feeling of it.... don't give up!
Lee Smith Posted February 13, 2004 Posted February 13, 2004 Hi Leb i Sol, Maybe you could post this with a compatable graphic so the Mac side can see what you intended to show. TIA Lee
LaRetta Posted February 13, 2004 Posted February 13, 2004 The idea isn't to go to the portal, but to have it change as a User scrolls through the main records. So, if one uses the Status Bar (or Record buttons) or the scroll bar, the row highlight will change accordingly. At least, that's what I think is being asked for. But I could be wrong - I frequently am. BTW, thanks for sharing the Photoshop Tutorial in the Samples Section. It's just what I need right now. LaRetta
Leb i Sol Posted February 13, 2004 Posted February 13, 2004 hello Lee! I am sorry...I thought that graphics are stored...click on the portal row. I re-uploaded the file but it looks like I missread the question Also, here is a screenshot of "how it is supposed to look" if there is problem with graphics then simply paste an image (of solid color) int the field "q_ActiveSelection".
wmugrad28 Posted March 19, 2005 Posted March 19, 2005 Hi Lee, I was just trying the highlight portal row thing and it works except for every way I've tried it there is a bug. If I click on the first portal row all three of my records are highlighted. If I click on the second or third portal row the highlights vanish and nothing is highlighted. What could be causing this? Greg
wmugrad28 Posted March 19, 2005 Posted March 19, 2005 Hi Lee, I was just trying the highlight portal row thing and it works except for every way I've tried it there is a bug. If I click on the first portal row all three of my records are highlighted. If I click on the second or third portal row the highlights vanish and nothing is highlighted. What could be causing this? Greg
wmugrad28 Posted March 19, 2005 Posted March 19, 2005 Hi Lee, I was just trying the highlight portal row thing and it works except for every way I've tried it there is a bug. If I click on the first portal row all three of my records are highlighted. If I click on the second or third portal row the highlights vanish and nothing is highlighted. What could be causing this? Greg
Lee Smith Posted March 19, 2005 Posted March 19, 2005 Hi Greg, Posting the same request in two places is called double posting. Please don't do this. I answered your question in the other post. HTH Lee
Lee Smith Posted March 19, 2005 Posted March 19, 2005 Hi Greg, Posting the same request in two places is called double posting. Please don't do this. I answered your question in the other post. HTH Lee
Lee Smith Posted March 19, 2005 Posted March 19, 2005 Hi Greg, Posting the same request in two places is called double posting. Please don't do this. I answered your question in the other post. HTH Lee
Recommended Posts
This topic is 7281 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