Subject Re: autoincrement problem
From Charlie <tm@tc.com>
Date Wed, 18 Oct 2023 02:18:10 -0400
Newsgroups dbase.getting-started

structure or entire table?

Ken Mayer Wrote:

> 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
>