[Gambas-user] Primary Key missing?

tobias tobiasboe1 at ...20...
Sat Nov 27 19:48:01 CET 2010


Benoît Minisini schrieb:
>> 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...?)




More information about the User mailing list