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

Assign leanest value 1

Status
Not open for further replies.

Chuku

Programmer
Jun 9, 2011
25
US
I have two types of processes like A and B.

say, If there are 5 processes totally

Sample data:
Process Type RecoveryTime
Proc1 A 4hours
Proc2 A 5days
Proc3 B 8hours
Proc4 B 3days
Proc5 A 12hours

I need to assign the leanest value i.e (4hours here) to a field called PRT. I should consider both the process types when i assign the leanest value. Process A and B are from different tables

How do I do that?

Thanks in advance.
 
Lbass,
spacing was the issue.. got it now..

Thanks alot!! you are the BEST!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top