Query is updated on closing a form to a different record id.
I have the below form. There are some more textboxes there that are not shown that I also update. I update the form and after updating I click on the form to close it as shown with the mouse in the picture. Another record is then updated which is not wanted. It is updated under intReportID 31 but varReportTitle is changed to the first one in the list, (they are in order alphabetically on the form only). How do I make sure that the form is not saved under a different varReportTitle on exit? How do I make sure its not saved at all? Or if its saved that its saved under the same id, intReportID, and varReportTitle?