Upon close of my form I am gettign this error "This record has been changed by another user since you started editing it..." Now I know why I am getting it, but cant figure out a way around not receiving this message. Let me explain...
I am using the QuickBooks SDK to connect my Access db to my Quickbooks file. I open my form and enter new data. In the save and close button I run several procedures that update this "new" information into Quickbooks. In a short explination, after the Quickbooks update, quickbooks sends back information to Access. One bit of this information is an edit sequence number for the customer updated/added in Quickbooks. This number is essential to me if I ever need to update or edit this same customer again, so I then run an update query in Acess to update the table with this new edit sequence number. All these updates and procedures are preformed on the same button click and ALL before the close event. The problem is that the table being updated is the same table my form is based on, so access is seeing that the record has changed since I opened it, hence throwing this error/question dialog.
Ok, that was a mouth full and if you are still with me is there any way to tell access to just ignore this question. There is really no way (at lease no easy way) around NOT updating the same table my form is based on BEFORE closing my form. Any suggestions??? More info can be provided if I was unclear or too confusing.
I am using the QuickBooks SDK to connect my Access db to my Quickbooks file. I open my form and enter new data. In the save and close button I run several procedures that update this "new" information into Quickbooks. In a short explination, after the Quickbooks update, quickbooks sends back information to Access. One bit of this information is an edit sequence number for the customer updated/added in Quickbooks. This number is essential to me if I ever need to update or edit this same customer again, so I then run an update query in Acess to update the table with this new edit sequence number. All these updates and procedures are preformed on the same button click and ALL before the close event. The problem is that the table being updated is the same table my form is based on, so access is seeing that the record has changed since I opened it, hence throwing this error/question dialog.
Ok, that was a mouth full and if you are still with me is there any way to tell access to just ignore this question. There is really no way (at lease no easy way) around NOT updating the same table my form is based on BEFORE closing my form. Any suggestions??? More info can be provided if I was unclear or too confusing.