I have several (6) calculated fields in a query...I would like to compare these fields and return the highest number from the different fields in a new calculated field. Any help would be greatly appreciated.
To the best of my knowledge, you can't do this directly with SQL. What
you'll need to do is write a little VBA function that accepts the six values
as arguments returns the largest.
HTH
--
Rebecca Riordan, MVP
Designing Relational Database Systems
Microsoft SQL Server 2000 Programming Step by Step
Microsoft ADO.NET Step by Step
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.