Greetings,
Is there a practical method to find the max value of several fields in each record? The actual table is quite large, so I'll have to go with a sample....
Item# Price1 Price2 Price3 Price4 PriceMAX
A1401 $10.41 $12.99 $11.05 $18.76 ?<-------(would be $18.76)
A1798 $14.01 $17.79 $12.65 $19.65 ?
A2875 $21.40 $32.56 $28.45 $19.95 ?
Unlike the MAX() function as I understand it, I am trying to find the maximum value for each item #. So, for Item# A1401 PriceMAX=$18.76.
I've done this before with IIF in a calculated field, but now the fields to look at are expanding and the formula is getting cumbersome (but doable).
Thanks for any help or ideas!
-=-=-=-=-=-
A little background: I can muddle my way through SQL, but primarily use the functionality in the query builder interface. My actual database is about 170,000 items and I need to find aggregate dates, prices, and quantities. I can port to excel (as I usually do), but there has to be a way in Access, right? If I can figure out how to do it for the maximum I'll have a good chance at finding averages, minimums, or other calculated values. Using Access 2010.
Regards, Vic
Is there a practical method to find the max value of several fields in each record? The actual table is quite large, so I'll have to go with a sample....
Item# Price1 Price2 Price3 Price4 PriceMAX
A1401 $10.41 $12.99 $11.05 $18.76 ?<-------(would be $18.76)
A1798 $14.01 $17.79 $12.65 $19.65 ?
A2875 $21.40 $32.56 $28.45 $19.95 ?
Unlike the MAX() function as I understand it, I am trying to find the maximum value for each item #. So, for Item# A1401 PriceMAX=$18.76.
I've done this before with IIF in a calculated field, but now the fields to look at are expanding and the formula is getting cumbersome (but doable).
Thanks for any help or ideas!
-=-=-=-=-=-
A little background: I can muddle my way through SQL, but primarily use the functionality in the query builder interface. My actual database is about 170,000 items and I need to find aggregate dates, prices, and quantities. I can port to excel (as I usually do), but there has to be a way in Access, right? If I can figure out how to do it for the maximum I'll have a good chance at finding averages, minimums, or other calculated values. Using Access 2010.
Regards, Vic