Answer by
gigo (1706)
You can easily use an SQL Statement to do that. Type SELECT fieldname FROM tablename ORDER BY fieldname DESC. You can run this statement in the SQL Editor or you can execute it with VBA. The execute function will return a recordset. You have to read out the first element of this recordset to get the highest value.