This correctly returns the max date value.
SELECT MAX(DateEnd) FROM Balances WHERE SourceId = " & hResultSource!id
I would like to also recover a another value (BalEnd) from the same record
SELECT MAX(DateEnd), BalEnd FROM Balances WHERE SourceId = " & hResultSource!id & " GROUP BY BalEnd"
This returns a strange value for BalEnd
Any help would be appreciated