[Gambas-user] Database manager problem

Fabien Bodard gambasfr at ...11...
Sat Dec 24 15:11:46 CET 2005


Le Samedi 24 Décembre 2005 10:57, Jacky a écrit :
> Bonjour,
>
> 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

It's slow ... but the sole way.. i know to emulate auto increments

Merry Christmas

Fabien Bodard

> Happy holidays.
>
> ~° Jack °~
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=Click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list