That would work, however I can't use LEAST and GREATEST. This is a web application using ASP to query an Access database. I get the following error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'LEAST' in expression.

What else can I do?
-Crosseyed