Subject Re: autoincrement problem
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Tue, 17 Oct 2023 20:24:01 -0700
Newsgroups dbase.getting-started

On 10/17/2023 12:48 PM, Charlie wrote:
> yes..  sorry
>
> fl.beginAppend()
>        fl.fields["category"].value = form.category1.rowset.fields["cat"].value
>                 fl.save()
>                 return
>


Okay. Can you post the table that is causing the problem? In theory,
once you have the autoincrement "next" value set, appending data,
whether through XDML or OODML, the autoincrement field should be being
updated correctly.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm