Hi:
There are many posts both here and on other forums about this topic, but nothing quite matching what I have...
I have an unbound form called frmChecks which displays information by means of an ADO recordset. Whenever I search for something, I have a globally defined subroutine, UpdateForm, that uses a SQL string to pull information into an ADO recordset and display the data on the form.
I also have a form called frmModify which exists for the purpose of editing the data on frmChecks. It opens up with the same information that is in frmChecks. The user can make any changes they want, click a "Save" command button (which causes the UpdateForm subroutine to run), and frmModify closes to take the user back to frmChecks.
The problem is that the changes don't appear on frmChecks. The bizarre thing is that when I breakpoint my code and step through it to see what the problem is, it all works fine...frmModif y closes and frmChecks appears with the correctly modified data. It's only when I try to do this under normal execution that it doesn't work properly.
Why would it function correctly in one circumstance and not the other? I can post code if need be. Thank you...
There are many posts both here and on other forums about this topic, but nothing quite matching what I have...
I have an unbound form called frmChecks which displays information by means of an ADO recordset. Whenever I search for something, I have a globally defined subroutine, UpdateForm, that uses a SQL string to pull information into an ADO recordset and display the data on the form.
I also have a form called frmModify which exists for the purpose of editing the data on frmChecks. It opens up with the same information that is in frmChecks. The user can make any changes they want, click a "Save" command button (which causes the UpdateForm subroutine to run), and frmModify closes to take the user back to frmChecks.
The problem is that the changes don't appear on frmChecks. The bizarre thing is that when I breakpoint my code and step through it to see what the problem is, it all works fine...frmModif y closes and frmChecks appears with the correctly modified data. It's only when I try to do this under normal execution that it doesn't work properly.
Why would it function correctly in one circumstance and not the other? I can post code if need be. Thank you...
Comment