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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining the Lowest Value between Fields from 2 Separate Tables 1

Status
Not open for further replies.

dstalls

Programmer
Sep 27, 2007
18
US
I would like to select the lowest value from related fields in two different tables.

I can get the lowest value from each field by using Minimum, but how can I get Crystal to evaluate both fields and determine which is lowest?

Any input? Thanks-

Derik
 
Try:

minimum([{table1.field1},{table2.field1}])

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top