R
redwardsjr
How do I write a statement that will evaluate the 5 possible values in my
field named prop.PRIORITY and change the value of the field named
FillForegnd. I want to change the color of this shape based on the value of
prop.PRIORITY which is linked to a database. The 5 possible values for
prop.PRIORTY are:
A-ASAP / Sever Impact
B-Short Term / Hight Impact
C-Long Term / Mod. Impact
D-None / Low Impact
E-Inaccessible
In FillForegnd I have tried using the function:
=IF(Prop.PRIORITY="C-Long Term / Mod. Impact",5,2)
It seems to always return the true value.
From what I've learned, it seems I need to write an If..Then..Else or an
Select Case statement in a macro or a VB module, but I don't know how to do
it. As you can tell, I'm not a programmer and have never used macros or the
VB editor before. Is there a tutorial anywhere in the MSDN web on writing
simple statements and functions? Thanks for any help.
field named prop.PRIORITY and change the value of the field named
FillForegnd. I want to change the color of this shape based on the value of
prop.PRIORITY which is linked to a database. The 5 possible values for
prop.PRIORTY are:
A-ASAP / Sever Impact
B-Short Term / Hight Impact
C-Long Term / Mod. Impact
D-None / Low Impact
E-Inaccessible
In FillForegnd I have tried using the function:
=IF(Prop.PRIORITY="C-Long Term / Mod. Impact",5,2)
It seems to always return the true value.
From what I've learned, it seems I need to write an If..Then..Else or an
Select Case statement in a macro or a VB module, but I don't know how to do
it. As you can tell, I'm not a programmer and have never used macros or the
VB editor before. Is there a tutorial anywhere in the MSDN web on writing
simple statements and functions? Thanks for any help.