As I understand it you need to check if a field is autoinc or not.
You could use afields(), and in the resulting array if element [x, 2] is
"I" and element [x, 18] > 0 then you can safely say that field is
autoinc.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
On Thu, 27 Jul 2017, at 11:49 AM,
mbsoftwaresolutions@mbsoftwaresolutions.com wrote:
> VFP9SP2
>
> I'm retrofitting old code and need to identify if the field's IID field
> in AutoInc or not. Looks like AFIELDS() is my friend here for array
> elements 17 and 18. Just wondered if anyone else had a better way?
>
> Thanks.
> --Mike
>
>
[excessive quoting removed by server]