>You can't be sure that this value is the value of the record YOU added unless you didn't have some other UNIQUE field.
I don't have any extra unique fields, the AutoInc field is my PK field. Is there a way to get it in AfterInsert?
I asked the same question on the Russian forum as well.
Can I get it in VFP9? If yes, then I just hide this field for now from the form.
I guess I can implement your code in AfterInsert, correct? For VFP8 version.
If it's not broken, fix it until it is.
My Blog