>    hConnection.Exec("create table test(id integer primary key, name
> varchar(10));")

> didn't i specify one creating
> the table?

Yes, you did indeed.  You specified id. :-)

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


Regards,
Caveat


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to