[Gambas-user] Primary Key missing?

tobias tobiasboe1 at ...20...
Fri Nov 26 23:13:20 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));




More information about the User mailing list