hi, im creating a prototype model that rates a particular PC's power consumption and i have a text field (named: txt_utilisation) that has a (utilisation) percentage calculated from other text fields in the form. this is fine.
Now, when i get the utilisation percentage; lets say 14 (%), i want another text field in the form to rate this number and simply display a message that says either - 'Green', 'Amber' or 'Red'.
for example:
1. If the number in txt_utilisation is lower than 30 - then i want another text field to output the word 'Green' (so In this new text field, logically it should be something like this:- IF [txt_utilisation] < '30' THEN = 'Green')
2. Also, If the number in txt_utilisation is between 30 and 60 - it should output 'amber'
3. and then If the number in txt_utilisation is greater than 60 - it should output 'red'.
this seems pretty straightforward in logical terms but i cannot get it to work in my form - i only get the message #Name.
any help would be greatly appreciated.
- - - - - - - - - - - - - - - - - -
also and as a sidenote, i have a combo box where the user can select there chosen PC specifications but there is some kind of glitch or fault on my behalf where it lists 1813 results whereas there is only 3 - bizzarely these 3 are repeated to get the 1813! how do i stop this?
Now, when i get the utilisation percentage; lets say 14 (%), i want another text field in the form to rate this number and simply display a message that says either - 'Green', 'Amber' or 'Red'.
for example:
1. If the number in txt_utilisation is lower than 30 - then i want another text field to output the word 'Green' (so In this new text field, logically it should be something like this:- IF [txt_utilisation] < '30' THEN = 'Green')
2. Also, If the number in txt_utilisation is between 30 and 60 - it should output 'amber'
3. and then If the number in txt_utilisation is greater than 60 - it should output 'red'.
this seems pretty straightforward in logical terms but i cannot get it to work in my form - i only get the message #Name.
any help would be greatly appreciated.
- - - - - - - - - - - - - - - - - -
also and as a sidenote, i have a combo box where the user can select there chosen PC specifications but there is some kind of glitch or fault on my behalf where it lists 1813 results whereas there is only 3 - bizzarely these 3 are repeated to get the 1813! how do i stop this?