crazy_ivan_1
New member
- Local time
- Today, 19:25
- Joined
- Jun 7, 2020
- Messages
- 23
Hi everyone,
I have been having a terrible time trying to get my forms to requery and refresh.
In summary
I have a Navigation form called main_nav_frm
Within this there is a tab called Summary
The Summary Tab is made up of a form called z_lab_summary_frm
The z_lab_summary_frm has 5 different subforms (which are various summaries of different lab work)
My problems is I cannot get the z_lab_summary_frm or main_nav_frm to refresh automatically. It works if i manually click the refresh button or if I move between the Summary tab and another tab.
I have tried me.requery from each of the 5 subforms after the open modal VBA command but that doesnt work.
I have tried Forms!main_nav_frm.NavigationSubform.Form.Requery on the close button of the modal as well as after the open modal button on the form.
I have tried a variety of combinations on different forms and pages to get it to requery/refresh and it still does not work.
Am I just an idiot and am not doing it properly or am I asking to much from the database?
Any help would be appreciated.
Thanks
I have been having a terrible time trying to get my forms to requery and refresh.
In summary
I have a Navigation form called main_nav_frm
Within this there is a tab called Summary
The Summary Tab is made up of a form called z_lab_summary_frm
The z_lab_summary_frm has 5 different subforms (which are various summaries of different lab work)
- z_atlab_summary
- z_call_lab_summary
- z_due_this_week_summary
- z_outstanding_summary
- z_due_today_summary
My problems is I cannot get the z_lab_summary_frm or main_nav_frm to refresh automatically. It works if i manually click the refresh button or if I move between the Summary tab and another tab.
I have tried me.requery from each of the 5 subforms after the open modal VBA command but that doesnt work.
I have tried Forms!main_nav_frm.NavigationSubform.Form.Requery on the close button of the modal as well as after the open modal button on the form.
I have tried a variety of combinations on different forms and pages to get it to requery/refresh and it still does not work.
Am I just an idiot and am not doing it properly or am I asking to much from the database?
Any help would be appreciated.
Thanks