S
skydiver
I have been presented with a difficult problem and I am not sure how to go
about finding a solution. I hope someone has an idea or two.
I have a report that shows hazardous material products. Several of the
fields are not important, however, there are three fields in which the
report has to be in sorted by.
1.) Health
2.) Flammability
3.) Reactivity.
Each field has a value ranging from 0 - 4. A product could look like the
following; 2-0-0, Health - 2, Flammability - 0, and Reactivity - 0.
The problem is this: The highest value of each row has fall in order from
highest to lowest.
1) 3-3-0
2) 2-4-1
3) 4-3-1
I could sort by column 1 and have the product with the 4 in column 1 at the
top and then sort descending from there, however, sorting on the first
column would result in record 3 followed by 1, and finally record 2.
Unfortunately, Record two has a rating of 4 in column 2, so it has to be
next even though it is in different column.
I sure hope I explained this well enough. Is doing something like this
feasible.
Just another Government mandate.
about finding a solution. I hope someone has an idea or two.
I have a report that shows hazardous material products. Several of the
fields are not important, however, there are three fields in which the
report has to be in sorted by.
1.) Health
2.) Flammability
3.) Reactivity.
Each field has a value ranging from 0 - 4. A product could look like the
following; 2-0-0, Health - 2, Flammability - 0, and Reactivity - 0.
The problem is this: The highest value of each row has fall in order from
highest to lowest.
1) 3-3-0
2) 2-4-1
3) 4-3-1
I could sort by column 1 and have the product with the 4 in column 1 at the
top and then sort descending from there, however, sorting on the first
column would result in record 3 followed by 1, and finally record 2.
Unfortunately, Record two has a rating of 4 in column 2, so it has to be
next even though it is in different column.
I sure hope I explained this well enough. Is doing something like this
feasible.
Just another Government mandate.