SELECT MAX(FIELDNAME) from mytable INTO CURSOR MYCURSOR
or
select groupfield, max(fieldname) from mytable group by groupfield into cursor mycursor
pf
>Ok i have a field in a database. The type of this field is an integer
>
>i want to make obtain the bigger number with a select
>
>how ?
(On an infant's shirt): Already smarter than Bush