J
Jcasual
I am using an access 97 db with vb front end.
I have opted to us disconnected recordsets. I need to know
how to update the database ONLY WHEN THE RECORD ON THE VB
FORM HAS BEEN UPDATED. I am not sure what event to use to
accomplish this. here the code I have to update the access
db:
cnn.Open cnStr
rstPlans.ActiveConnection = cnn
rstApps.ActiveConnection = cnn
rstPlans.UpdateBatch
rstApps.UpdateBatch
rstPlans.ActiveConnection = Nothing
rstApps.ActiveConnection = Nothing
cnn.Close
I have opted to us disconnected recordsets. I need to know
how to update the database ONLY WHEN THE RECORD ON THE VB
FORM HAS BEEN UPDATED. I am not sure what event to use to
accomplish this. here the code I have to update the access
db:
cnn.Open cnStr
rstPlans.ActiveConnection = cnn
rstApps.ActiveConnection = cnn
rstPlans.UpdateBatch
rstApps.UpdateBatch
rstPlans.ActiveConnection = Nothing
rstApps.ActiveConnection = Nothing
cnn.Close