Hi all,
I am working on this project using a form to search for a member, in form 1 when putting in memno (table1) in the box next to the search button and click search, the respective member's name will appear on the listbox below and the details of that member will be listed in the detail section of the form. When user click the member's name in the listbox, the subform will show its score and allow user to put notes which in turn update Table:sports.
So far everything is working as expected, but when user try to close the form, a message will pop up because during the update of the subform by vba a temporary query is deleted, and access does not seem to notice that, here's the screen shot of that message.![]()
Please note that the message does not allow user to close the form, to close the form i go to the vba of that form, comment out a line and save it, come back to close the form again, the message show again then it will close.
Please note also if you enter a 4 in the search box, which is one of the values in memno column of table1, the error message will be exactly the same as shown above.
I tried so many things to get rid of that but i just can't, please help.
And here is the file myDb.accdb