A
Ahmed
thank you for your help: i need to solve this.
i try to make that code work:
dim wks as workspace
set wks = dbengine.workspaces(0)
wks.BeginTrans
db.execute "insert into CLIENTS (ID, NOM) values (33, 'TEST')", dbseechanges
wks.CommitTrans
debug.print dlookup("nom","client","id=33") 'at this point, the program no
longer responds
if i do the same thing without using a transaction, it works.
the code do as if i did not do the CommitTrans action.
Thank you.
i try to make that code work:
dim wks as workspace
set wks = dbengine.workspaces(0)
wks.BeginTrans
db.execute "insert into CLIENTS (ID, NOM) values (33, 'TEST')", dbseechanges
wks.CommitTrans
debug.print dlookup("nom","client","id=33") 'at this point, the program no
longer responds
if i do the same thing without using a transaction, it works.
the code do as if i did not do the CommitTrans action.
Thank you.