Mohamed-
Access is not Excel. You can find the Min value across multiple rows, but not multiple columns - at least not using Min. To do it in Access, you have to write an ugly expression using IIf:
IIF([hra]<[cca], IIF([hra]<[total], [hra], [total]), IIF([cca]<[total], [cca], [total]))
John Viescas, author
"Microsoft Office Access 2003 Inside Out"
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"
|