Hello,
I have a report based off of a query. I am trying to get it to requery or refresh on GotFocus, but I can't seem to get anything to work. I've searched and tried different ways like Me.Requery, DoCmd.RefreshRecord, etc. but nothing seems to work. It seems like the GotFocus part is maybe part of the problem. For example, I have a button on the report that opens a modal dialog form to update data. When the "OK" button is pushed on that form and it closes, I assumed that would trigger the GotFocus event for the report in the background that opened the form. Am I mistaken? I even added Application.DoCmd.SelectObject acReport, "Report Name" to the code after the modal dialog form closes to try to trigger the GotFocus event, but the report doesn't requery. Any help would be greatly appreciated!!
Thanks