See GETAUTOINCVALUE() function.
>Suppose you are accessing a VFP database via an ASP webpage. The table uses an autoinc integer field as the key field. You insert a new record using
>
>< %
>oRS.addnew
>% >
>
>
>is there a way to query the value in this new record's autoinc field other than reissuing the select and oRS.movelast to get the new record?
>
>Thanks
--sb--