[Gambas-user] Primary Key missing?

tobias tobiasboe1 at ...20...
Sun Nov 28 19:18:27 CET 2010


>>> hi,
>>>
>>>> So I'm wondering whether your Edit might not work better if you were to
>>>>
>>>> try:
>>>>     hResult = hConnection.Edit("test", "id=&1", 1)
>>>>     hResult["name"] = "Adam"
>>>>     hResult.Update
>>>>     hResult.Commit
>>> this gives the same error, i changed the tables creation to
>>>
>>> hConnection.Exec("create table test(id integer, name varchar(10),
>>> primary key(id));")
>>>
>>> but nothing happens...?
>>> in terminal everything went well, even with
>>> create table test(id integer primary key, name varchar(10));
>>>
>> Which version of Gambas do you use?
>>
> gambas2.20 (i thought, it would be 2.21...?)
> 
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
i don't know, if i said it but the regular way (with gambas objects and 
setting Table.PrimaryKey = ["id"]) worked fine... i don't know... i've 
just been trying to install gambas2-2.22 but tar sais the archive is 
broken and my download speed decreased to nearly 0 -.-




More information about the User mailing list