J
Jeff Gaines
I want to retrieve the current maximum value of a numeric field in an
Access 2007 table. I am writing the function in C#. I have a select string
as follows:
"SELECT LedgerReference, MAX(LedgerReference) FROM tblLedgerData GROUP BY
LedgerReference";
Although it appears to work, i.e. it doesn't crash, it doesn't actually
return anything.
All the examples I have found so far are quite complex with joined tables,
I just want the maximum value that exists in a single table.
Can anybody give me some guidance please?
Access 2007 table. I am writing the function in C#. I have a select string
as follows:
"SELECT LedgerReference, MAX(LedgerReference) FROM tblLedgerData GROUP BY
LedgerReference";
Although it appears to work, i.e. it doesn't crash, it doesn't actually
return anything.
All the examples I have found so far are quite complex with joined tables,
I just want the maximum value that exists in a single table.
Can anybody give me some guidance please?