hi,
i noticed something in my test with Connection.Edit() (sqlite3):
i created a table with connection.exec()

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

then inserted some data
hConnection.Exec("insert into test(name) values(\"Aaron\");")
hConnection.Exec("insert into test(name) values('Zacharias');")

now, because i thought, this is the only way to prevent the error "table
test has no primary key", i set the primary key property of the table
object:
hConnection.Tables["test"].PrimaryKey = ["id"]

not this brought me "Read-only property".
is this because i created the table via exec() and there is no
synchronization (possible)?

regards,
tobi


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to