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 derfloh 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
Joined
May 21, 2002
Messages
2
Location
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.
 
Thank you very much...
 
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