I have three tables:
1. A table of generator information (back up power generators). This is the 'main' table.
2. A look-up table of maintenance lists that encompass the generators. Every year or two, a new maintenance list is generated by a 3rd party. This is a listing of every generator that needs to be serviced during the length of the maintenance list period. For example, if there are 100 generators in 2011 the maintenance list will have 100 lines. If we add 23 generators and a new list is issued in 2013, that list will now be 123 lines long.
3. A link table that combines #1 and #2; since a generator will be on multiple lists.
I want to concatenate the Maintenance List name together but I want to sort that concatenation based on the dates they were issued. I can concat the values together with no problems. I can order them ascending or descending based on the field I'm concatenating no problem. Other than that, I'm stuck.
edit: add to clarify
1. A table of generator information (back up power generators). This is the 'main' table.
2. A look-up table of maintenance lists that encompass the generators. Every year or two, a new maintenance list is generated by a 3rd party. This is a listing of every generator that needs to be serviced during the length of the maintenance list period. For example, if there are 100 generators in 2011 the maintenance list will have 100 lines. If we add 23 generators and a new list is issued in 2013, that list will now be 123 lines long.
3. A link table that combines #1 and #2; since a generator will be on multiple lists.
I want to concatenate the Maintenance List name together but I want to sort that concatenation based on the dates they were issued. I can concat the values together with no problems. I can order them ascending or descending based on the field I'm concatenating no problem. Other than that, I'm stuck.
edit: add to clarify
Attachments
Last edited: