You'll have to bear with me as I am not very well versed in databases in general, but even more so with Foxpro.
I am using the latest Foxpro OleDB driver and need to find a way to retrieve the recno for a newly inserted row into a table.
I have tried the following, assuming that the newly inserted row would be the last one in the table but this does not seem to work as I thought it would.
"select recno() as Oid from [TableName]". This is returning the recno of the first item in the table that is not marked for deletion.
Any help would be greatly appreciated.
Thanks,
Steve