[Gambas-user] Primary Key missing?

Benoît Minisini gambas at ...1...
Fri Nov 26 23:21:53 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?

-- 
Benoît Minisini




More information about the User mailing list