D
Dirk
Hi,
I am using the following rather mundane code structure:
dbConn.BeginTrans
sSQL = <some update query>
dbConn.Execute sSQL, nAffected, adExecuteNoRecords
sSQL = <some other update query>
dbConn.Execute sSQL, nAffected, adExecuteNoRecords
dbConn.CommitTrans
someListBox.Requery
Now after running this code I noticed that the CommitTrans command returns
control before actually finishing updating. That results in someListbox's
date being incorrect upon Requery. Is there any way to make CommitTrans
execute synchronously so that I do not have to figure out all kinds of tricks
catching events and all?
Thanks in advance.
I am using the following rather mundane code structure:
dbConn.BeginTrans
sSQL = <some update query>
dbConn.Execute sSQL, nAffected, adExecuteNoRecords
sSQL = <some other update query>
dbConn.Execute sSQL, nAffected, adExecuteNoRecords
dbConn.CommitTrans
someListBox.Requery
Now after running this code I noticed that the CommitTrans command returns
control before actually finishing updating. That results in someListbox's
date being incorrect upon Requery. Is there any way to make CommitTrans
execute synchronously so that I do not have to figure out all kinds of tricks
catching events and all?
Thanks in advance.