Good Evening, "Long time listener, first time caller."
MS Access 2007 - VBA - DAO
I have a procedure that updates values from textboxes on a form to a table with a rs object update method. Within that same procedure I am looking to pass the values back out to the same form with a different recordset. Is there a danger or reason for concern given the rs.update happens within the same sub I'm pulling the table values from? Or is there a "reasonable " time-frame I should give the write event to the table?
Thanks,
P
Example:
MS Access 2007 - VBA - DAO
I have a procedure that updates values from textboxes on a form to a table with a rs object update method. Within that same procedure I am looking to pass the values back out to the same form with a different recordset. Is there a danger or reason for concern given the rs.update happens within the same sub I'm pulling the table values from? Or is there a "reasonable " time-frame I should give the write event to the table?
Thanks,
P
Example:
Code:
button_click()
rs.AddNew
rs!myvalue = text1
rs.update
.....more code......
db.openrecordset
rs.fields("myvalue") = text1
End Sub
Comment