Hello Nghi Trinh,
It seems you got error while running a macro. I'm wondering if your query could successfully return the date you want.
Please try to keep your form opened and then open the query from navigation pane directly. Could the query return the data correctly?
If it could, I think there must be something wrong with the macro. Please share the macro code.
If not, please tell us the result of the query. If you got any error, please detail us the error message.
Best Regards,
Terry
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.