mark curtis
Registered User.
- Local time
- Today, 02:24
- Joined
- Oct 9, 2000
- Messages
- 457
Dear all,
I have been assigned a task to automate a RAG Flag status for projects. RAG stands for red, amber or green. On my form I have a combo box with red, amber or green as the selection and next to the combo box I have three labels which turn red, amber or green according to the content of the combo box.
The task I have is to build criteria based on values of other fields so that the RAG Flag will automatically change BUT I also need to allow a user to change the RAG Flag even if the values I am checking against are valid.
I have a couple of questions:
1)On which event should I place the validation check?
2)I have about ten criteria to check so should I use an If Then Else Statement or Case?
3)If Case can you give me an example of how to code one?
4)How do I get round the problem of letting a user change the RAG Flag even if all the criteria is fine? Someone said I needed to use two flags for checking?!?
5)Has anyone got any examples of this type of work?
I know I am asking for the world but I really do appreciate any help.
Thanks
Mark
I have been assigned a task to automate a RAG Flag status for projects. RAG stands for red, amber or green. On my form I have a combo box with red, amber or green as the selection and next to the combo box I have three labels which turn red, amber or green according to the content of the combo box.
The task I have is to build criteria based on values of other fields so that the RAG Flag will automatically change BUT I also need to allow a user to change the RAG Flag even if the values I am checking against are valid.
I have a couple of questions:
1)On which event should I place the validation check?
2)I have about ten criteria to check so should I use an If Then Else Statement or Case?
3)If Case can you give me an example of how to code one?
4)How do I get round the problem of letting a user change the RAG Flag even if all the criteria is fine? Someone said I needed to use two flags for checking?!?
5)Has anyone got any examples of this type of work?
I know I am asking for the world but I really do appreciate any help.
Thanks
Mark