G
Gardner Andersen
I have two apps that run on different machines. The first app inserts a
row to an MS Access table using an ODBCDataAdapter object. Then, it sends
a message to the second machine that a new row has become available using a
winsock object. Finally, the second app receives the message and reads the
new row.
Problem is...
The actual data update completes codewise on app #1, but the message is
received and the data read in app #2 before MS Access is done taking in the
new data (I guess).
I can tell this because the data is actually added, but the second app
doesn't see it unless I put in an arbitrary delay.
I'd like to avoid unnecessary delays, plus there is the question of whether
or not the delay is not long enough at one point (because maybe the DB is
busy), what happens.
Ideas?
row to an MS Access table using an ODBCDataAdapter object. Then, it sends
a message to the second machine that a new row has become available using a
winsock object. Finally, the second app receives the message and reads the
new row.
Problem is...
The actual data update completes codewise on app #1, but the message is
received and the data read in app #2 before MS Access is done taking in the
new data (I guess).
I can tell this because the data is actually added, but the second app
doesn't see it unless I put in an arbitrary delay.
I'd like to avoid unnecessary delays, plus there is the question of whether
or not the delay is not long enough at one point (because maybe the DB is
busy), what happens.
Ideas?