I'm not sure where to ask this question, it's a complicated one.
Not sure if this can be done with a query, or in a report, or if it's even possible.
In our database we have 3 fields. We'll name them FieldA, FieldB, FieldC to keep it simple
Each field represents a different code type.
We have some reports that run, and have a section for comments. The comments that are displayed are determined by what is entered in each of those fields.
What they are wanting is to have the comments automatically display on the reports, depending on what is selected in those fields.
But it gets more complicated, because there are special 'conditions' where exception comments could be used.
For example:
If Field A has code 001 chosen, then comment ABC should be displayed on the report.
or
If Field A has code 001 and Field B has code 005, then comment EFG needs to be displayed on the report.
Or
If field A has code 001 and Field B has code 005 but Field C is Code 2A. Then comment XYG needs to be displayed.
The possibilities of different combinations is endless, and the special conditions make it even more complex.
I'm thinking it would have to be coded into the reports, but I'm not even sure how to do that. There are just so many possible combinations, to get the comments they want.
I purposed having a subform, where they could just select from a continuous form dropdown, which comments should be displayed for each record, but they want it to be automated.
Any ideas?
Not sure if this can be done with a query, or in a report, or if it's even possible.
In our database we have 3 fields. We'll name them FieldA, FieldB, FieldC to keep it simple
Each field represents a different code type.
We have some reports that run, and have a section for comments. The comments that are displayed are determined by what is entered in each of those fields.
What they are wanting is to have the comments automatically display on the reports, depending on what is selected in those fields.
But it gets more complicated, because there are special 'conditions' where exception comments could be used.
For example:
If Field A has code 001 chosen, then comment ABC should be displayed on the report.
or
If Field A has code 001 and Field B has code 005, then comment EFG needs to be displayed on the report.
Or
If field A has code 001 and Field B has code 005 but Field C is Code 2A. Then comment XYG needs to be displayed.
The possibilities of different combinations is endless, and the special conditions make it even more complex.
I'm thinking it would have to be coded into the reports, but I'm not even sure how to do that. There are just so many possible combinations, to get the comments they want.
I purposed having a subform, where they could just select from a continuous form dropdown, which comments should be displayed for each record, but they want it to be automated.
Any ideas?