Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Max Value of DB Field

Status
Not open for further replies.

racav

Programmer
May 21, 2002
2
AR
Hi,

Does anyone know how to get the max value of a db field?
I need a function like the "SELECT MAX(Field)" of SQL.

Thx.

Esteban
 
I think the quickest way is to create an index and then use dbgobottom() with the index active.

Hope that helps.
 
i think it would be alot faster if you use the DBSTRUCT() and test the (len)...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top