[Gambas-user] Database manager problem
Jacky
jscops at ...11...
Tue Dec 27 23:23:08 CET 2005
Le Samedi 24 Décembre 2005 15:11, Fabien Bodard a écrit :
> > With database manager, when i save a table with auto_increment attribut,
> > i lose this attribut. Is it normal ?
> > Gambas 1.9.20 or Gambas 1.0.11
> > Suse 9.3
>
> yes, Gambas db not support auto_increment attribute... but i hope Benoit
> add this, because it's really usefull...
>
> Before that i use this :
>
> hres = hCon.Exec("Select Max(id) From Client")
> newid = hRes["Max(id)"] + 1
> >
Salut,
no, no Fabien, with an unique key the auto_increment works fine. It's with the
database manager that we lose the auto_increment attribut. Simply saving
table lose this attribut.
~° Jack °~
More information about the User
mailing list