J
John
I have a simple form tracking progress on projects each month.
There is a textbox for the Planned % complete ("tbxmonthplan"), a second
text box forthe Actual % complete ("tbxmonthact"), and a third textbox for a
monthly indicator ("tbxmonthInd") based on a comparison of the two previous
text boxes.
If tbxmonthact is less than 95% of tbxmonthplan (e.g a 5% variance from
target progress) I want tbxmonthInd to indicate "Y" and format tbxmonthInd
background yellow. Further, If tbxmonthact is less than 80% of tbxmonthplan
(e.g a 20% variance from target progress) I want tbxmonthInd to indicate "R"
and format tbxmonthInd background red. If they are above 95% on target I
want to indicate "G" and format background as green.
What is the syntax for this or does it require VBA?? Currently the control
source for tbxMonthInd is a field in a table which I know is a no-no for
calculated fields.
Help is appreciated.
qwerty
There is a textbox for the Planned % complete ("tbxmonthplan"), a second
text box forthe Actual % complete ("tbxmonthact"), and a third textbox for a
monthly indicator ("tbxmonthInd") based on a comparison of the two previous
text boxes.
If tbxmonthact is less than 95% of tbxmonthplan (e.g a 5% variance from
target progress) I want tbxmonthInd to indicate "Y" and format tbxmonthInd
background yellow. Further, If tbxmonthact is less than 80% of tbxmonthplan
(e.g a 20% variance from target progress) I want tbxmonthInd to indicate "R"
and format tbxmonthInd background red. If they are above 95% on target I
want to indicate "G" and format background as green.
What is the syntax for this or does it require VBA?? Currently the control
source for tbxMonthInd is a field in a table which I know is a no-no for
calculated fields.
Help is appreciated.
qwerty