finding a highest number in a database

How do I search a database field for the highest value and return it to a text box in VBS?
Who is Participating?
If it's a numeric field, the SQL is

SELECT Max( fieldName ) FROM tableName
Or you can also SELECT (fieldname) ORDER BY (fieldname) DESC
and then read the first record
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.