mloucel
Member
- Local time
- Today, 07:57
- Joined
- Aug 5, 2020
- Messages
- 293
I have a form [F1], that contains a sub form [FSF1], the sub form has the results from a query [QueryView], will usually contain about 50 to 100 records.
[FSF1] is placed on the Sub Form as CONT Form.
Problem:
To make that [F1] work faster when I open another form [F2] I HIDE the form [F1]
When the other form closes, my last line of code is to UNHIDE [F1]
but I found a glitch
if I make changes to the DB with [F2] and return to [F1] those changes are NOT reflected since the query [QueryView] in [FSF1] does not re-query to reflect the latest changes
many times that is NOT required since other forms will not make any changes.
I've tried to follow instructions from this page:
How to refer to form and sub form [http://access.mvps.org/access/forms/frm0031.htm]
But I can't figure it out.
Forms!Mainform!Subform1.Form!Subform2.Form.QueryView.ReQuery
So how can I do a re query on [F1].[FSF1] before I un hide [F1] so when [F1] shows up again I can see the changes in [QueryView] ?
Any help will be appreciated.
Maurice.
[FSF1] is placed on the Sub Form as CONT Form.
Problem:
To make that [F1] work faster when I open another form [F2] I HIDE the form [F1]
When the other form closes, my last line of code is to UNHIDE [F1]
but I found a glitch
if I make changes to the DB with [F2] and return to [F1] those changes are NOT reflected since the query [QueryView] in [FSF1] does not re-query to reflect the latest changes
many times that is NOT required since other forms will not make any changes.
I've tried to follow instructions from this page:
How to refer to form and sub form [http://access.mvps.org/access/forms/frm0031.htm]
But I can't figure it out.
Forms!Mainform!Subform1.Form!Subform2.Form.QueryView.ReQuery
So how can I do a re query on [F1].[FSF1] before I un hide [F1] so when [F1] shows up again I can see the changes in [QueryView] ?
Any help will be appreciated.
Maurice.
Last edited: