I appreciate any help that could be given with this problem. I really feel I should know but my brain isn’t working.. So I’m throwing myself on the mercy of Tek-Tips and hope some body can help. Any help/guidance would be greatly appreciated.
I have a three field table which corresponds to COMBO, QUALIFIER and VALUE.
The COMBO field is effectively a concatenation of each Location and the test that is run at that location.
Now comes the part that I feel stupid about.
I need to generate the overall max for each COMBO. However if the max has a J in the qualifier I need to concatenate that at the end. Such that in this case I would want an end result similar to the table below. I realize this will probably have to be some VB code or several queries which I’d be fine with.
Cut from much larger table 3 fields
tblEstimatedMaxes
Value Qualifier combo
22.7 J DP1007_PBZN
11800 DP1007_TCE
3.46 J DP1007_TMB124
3.4 DP1007_TMB124
7.35 DP1007_TMB135
0.58 J DP1007_TMB135
407 DP1007_VC
DESIRED OUTPUT 2 fields
COMBO MAX
DP1007_PBZN 22.7 J
DP1007_TCE 11800
DP1007_TMB124 3.46 J
DP1007_TMB135 7.35
DP1007_VC 407
Thanks again
-eric
efinnen@hotmail.com
ps : sorry my tables didn't come out prettier