the easiest way for me is just a little scripting. Add a text object that is not visible. Datalinq this text object to the data that shows party. Then right click on that text object and look for "edit script event" or something like that. I'm not at my Xpression. Add this script to that text object. Remember to compile it by clicking on the orange icon near the top of the window. You will have to substitute the names of the various quads for what I have put in " ". Also, you might have to modify the script if your data sends a different character that the ones I have used. Good luck.
dim rep, dem, ind as xpbaseobject
scene.getobjectbyname ("Republican quad", rep)
scene.getobjectbyname ("Democrat quad", dem)
scene.getobjectbyname ("Independent quad", ind)
if text = "R" then
rep.visible = true
dem.visible = false
ind.visible = false
else if text = "D" then
rep.visible = false
dem.visible = true
ind.visible = false
else if text = "I" then
rep.visible = false
dem.visible = false
ind.visible = true
else
rep.visible = false
dem.visible = false
ind.visible = false
end if
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
------------------------------
Original Message:
Sent: 10-12-2022 09:34
From: Lee Mann
Subject: Election Party Color Field
Morning Everyone!
I am laying out my lower 3rd for our election coverage and I want to change the Quad for my selected Party.
Example: If the Party Text Field is R, I want my Red Quad to be visible or if the Party Text Filed is D, I want my Blue Quad to visible.
How do I go about this?
------------------------------
Lee Mann
On Air Director
WAKA 8
------------------------------