Jim Dudley
Registered User.
- Local time
- Today, 17:32
- Joined
- Feb 16, 2012
- Messages
- 81
I have a form that has two sub-forms in the main form side by side(Pop-ups).
Below I have a series of 10 tabs. 9 of them contain additional sub_forms which are created by up to 4 queries. Query on query etc. Some of them involve Cross Tab queries.
Issue:
When I load the consolidated form with the tabs and sub_forms, I am assuming that each of the sub_forms re-runs the underlying queries. In other words it updates itslef as it loads.
If not what code would I need to assure that the sub-forms and the data(numbers) they display are the most current?
My numbers are not balancing and I am wondering if the forms are not re-calculating each time they load.
Second question, what line of code do I add to force the consolidated spreadsheet to update automatically when the code loads it.
Code Line:
' To open the Excel workbook:
Application.FollowHyperlink "C:\LDP_Database\Seneca_Period_Analysis_Exports\Comparative_Analysis.xlsx"
Exit Function
Thank you.
Jim
Below I have a series of 10 tabs. 9 of them contain additional sub_forms which are created by up to 4 queries. Query on query etc. Some of them involve Cross Tab queries.
Issue:
When I load the consolidated form with the tabs and sub_forms, I am assuming that each of the sub_forms re-runs the underlying queries. In other words it updates itslef as it loads.
If not what code would I need to assure that the sub-forms and the data(numbers) they display are the most current?
My numbers are not balancing and I am wondering if the forms are not re-calculating each time they load.
Second question, what line of code do I add to force the consolidated spreadsheet to update automatically when the code loads it.
Code Line:
' To open the Excel workbook:
Application.FollowHyperlink "C:\LDP_Database\Seneca_Period_Analysis_Exports\Comparative_Analysis.xlsx"
Exit Function
Thank you.
Jim