I have a main form A which called Form B for adding records. In Form A, there is a text box which showed the total number of records in my main table. After adding records in Form B and returning to Form A, I discovered that text box didn’t show the updated record number. When I did debugging and stepped into the codes, the value for the textbox was correctly shown when my cursor was over it, and after I finshed executing the codes and return to the main Form, the text box showed the correct updated record number. However, when I cleared the breakpoint and added records using Form B and returned to Form A, the text box again failed to update. When I put back the breakpoint and run again, the text box showed correctly again.
Barring errors in my codes, why should using breakpoint and stepping into the codes give me different result from just running it without breakpoint and stepping in? What did the de###### do?