I am trying to write a function that will look at certain fields from a row in a table and return the lowest value. The part I am getting stuck on is how to refer to the fields that it needs to look up.
The DMin function looks ideal but I do not know how I can use it to look at serveral fields from the same row.
Example:
MyTable has fields 1 to 10 and I would like to find the lowest value out of fields 1,2 and 3 per recordset.
Any help greatly appreciated.
Thanks
The DMin function looks ideal but I do not know how I can use it to look at serveral fields from the same row.
Example:
MyTable has fields 1 to 10 and I would like to find the lowest value out of fields 1,2 and 3 per recordset.
Any help greatly appreciated.
Thanks