RHubbard
Registered User.
- Local time
- Today, 14:23
- Joined
- Dec 25, 2001
- Messages
- 47
I have a simple database but with roughly 30,000 name records in it. Each name record consists of three elements Name1; Name2; Name3 (similar to first, middle and last).
Not all three elements are present in every record. The possible combinations for any given record are as follows:
[Hussein] [al] [Tikrit]
[Hussein] [al] [____]
[Hussein] [_] [Tikrit]
[Hussein] [_] [____]
[______] [al] [____]
[______] [al] [Tikrit]
[______] [_] [Tikrit]
What I want to do is to provide color coding in a report so that the color of the control(s) is determined by whether or not a data element is present. For example:
[Hussein] [al] [Tikrit] would be:
[Blue] [Blue] [Blue]
[Hussein] [al] [____]would be:
[Green] [Green] [Blank]
[Hussein] [_] [Tikrit] would be:
[Yellow] [blank] [Yellow]
Etc.
I suspect this can be achieved via some sort of Select Case inserted in the On Format of the report detail section, but for the life of me, I can’t figure out how to do it.
Any ideas/suggestions would be gratefully accepted.
Not all three elements are present in every record. The possible combinations for any given record are as follows:
[Hussein] [al] [Tikrit]
[Hussein] [al] [____]
[Hussein] [_] [Tikrit]
[Hussein] [_] [____]
[______] [al] [____]
[______] [al] [Tikrit]
[______] [_] [Tikrit]
What I want to do is to provide color coding in a report so that the color of the control(s) is determined by whether or not a data element is present. For example:
[Hussein] [al] [Tikrit] would be:
[Blue] [Blue] [Blue]
[Hussein] [al] [____]would be:
[Green] [Green] [Blank]
[Hussein] [_] [Tikrit] would be:
[Yellow] [blank] [Yellow]
Etc.
I suspect this can be achieved via some sort of Select Case inserted in the On Format of the report detail section, but for the life of me, I can’t figure out how to do it.
Any ideas/suggestions would be gratefully accepted.