Answered by:
Crosstab always pops up before the main form opens in MS Access

Question
-
I have a main form contains two sub forms created in MS Access. There are two text boxes on the main form. After the user enters the start and end dates in the text boxes, and click on the search button, the information in these two sub forms should be recalculated and refreshed the results on the sub forms and show within the main form.
Once, I changed the data source of a sub form with a crosstab query and saved it. I don’t know whether it is the problem coming from. Now, after the user enters the dates, and search the result, this crosstab query result opens by itself first before the main form with two sub forms open.
I have deleted the record source of the sub form from the property, and assigned the record source for the sub form in the search button by code. But it didn't solve the problem.
How can I stop the crosstab query to pop up? Thanks.
- Moved by litdev Thursday, July 19, 2018 6:13 PM
Thursday, July 19, 2018 4:28 AM
Answers
-
I'd ask for help over here.
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_access
https://social.msdn.microsoft.com/forums/office/en-us/home?forum=accessdev
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Friday, July 20, 2018 12:32 PM
- Marked as answer by Richard MuellerMVP, Banned Thursday, July 26, 2018 12:36 PM
Thursday, July 19, 2018 11:48 PM
All replies
-
As this forum is about the Small Basic language, your question belongs in another Microsoft forum.
Jan [ WhTurner ] The Netherlands
Thursday, July 19, 2018 9:39 AM -
I'd ask for help over here.
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_access
https://social.msdn.microsoft.com/forums/office/en-us/home?forum=accessdev
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Richard MuellerMVP, Banned Friday, July 20, 2018 12:32 PM
- Marked as answer by Richard MuellerMVP, Banned Thursday, July 26, 2018 12:36 PM
Thursday, July 19, 2018 11:48 PM -
Thanks! I will ask for help at your provided sites.Friday, July 20, 2018 2:55 AM
-
You're welcome.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Friday, July 20, 2018 2:57 AM