Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating a Minimum Value per Record

Status
Not open for further replies.

sportdlockport

Technical User
Apr 13, 2005
38
US
I would like to calculate the minimum value for multiple expression fields WITHOUT using an aggregate function.

Example:
Expression Field: Mod 1 Value: 50
Expression Field: Mod 2 Value: 40
Expression Field: Mod 3 Value: 45
Expression Field: Mod 4 Value: 60

Goal: A new calculated field to select 40 as the minimum record.
 
if you don't want to use an aggregate function in a query the only other way is to write a custom function in a module and use that.


Leslie

Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
 
I have decided to use an If statement to solve the problem. thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top