Therber Posted August 10, 2002 Posted August 10, 2002 I have a portal with a pop-up list. Depending which selection is choosen in the pop-up list, I'd like to have a small graphic display in that portal row. I have a container with the graphics. Thank You.
Mark Appleby Posted August 10, 2002 Posted August 10, 2002 This sounds Reasonable, where is the problem?
Therber Posted August 11, 2002 Author Posted August 11, 2002 Displaying the graphic dependent upon what selection is made in the pop-up list. Only the graphic in the first position of the container is displaying in all portal rows.
Geeksharka Posted August 11, 2002 Posted August 11, 2002 There are two ways of doing this. One is with repeating fields, and the other via relationships. I don't particularly like repeating fields, (read: I've practically forgotten how to use them) so I'll explain the relationship version. You now have two files (A and :. You will need to add one more © for the graphics. In the file shown in the portal (, add another related file (with a record for each graphic) to it ©. The graphic records in © should relate to the options available in the pop-up field in (. Make sure to add a container lookup field in ( based on its relationship to ©. You'll need this field in ( so that the graphic will show up in the portal to ( in (A). That way when you select a pop-up value in the portal you're talking about, the file shown in that portal row will automatically show its related graphic. Judging from my awkward explanation above, it's clearly more difficult to explain than to do; so I attached a functional, yet oddly primitive, example of the (A), (, and © files to this post. HTH
Vaughan Posted August 12, 2002 Posted August 12, 2002 Calculate which graphic to display in the related file. Display the related calc fiels in the portal.
Geeksharka Posted August 12, 2002 Posted August 12, 2002 Yep, that's a good idea too. I like non-calc relation-based setups sometimes because although they may take a little longer to set up, they are infinitely easier to maintain for the programmer, and especially the user. With a set up as mentioned/attached above, a user can add/delete colors to and from the the color table at will without ever having to open or edit any calc fields. I'm probably wrong in this regard, by I tend to lean towards more tables and relations and less calc whenever possible. It seems to provide for faster perforamance and easier maintenance for the user. PS: What happened to your picture?
Recommended Posts
This topic is 8144 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