(Short Story)
I have put code in the Report_Close() Event. It is supposed to open Modal forms I had to close in order for the Report to gain focus once opened (which still doesn't work). Anyway, I can tell this code is being processed multiple times while the report is being opened as if the report is opening and closing multiple times before it stays opened... when it should only be opening once. Any clue why my Close_Event would be processing while the form is Opening?
(More if interested or if you need it)
On my report I have 3 graphs of the same height/width sitting on top of each other. I have code under the button_click event that opens this report, that checks to see a certain option the user has made and then makes 2 of the graphs invisible and 1 visible depending on the option. I think this is causing my problem (from above)... it would appear that since I have 3 graphs and I can see the process happening 3 times that the Close_Event is processing in conjunction with something to do with the graphs. Is there any connection there? The graphs rowsource is coming from a query which comes from fields from another form (not the form that opens the report, because that form is immediately closed in order to bring the report to view... which as I said before I still can't get to work, I have to alt-tab to the report right now)
Sorry for the run-on sentences I write like I talk.
I have put code in the Report_Close() Event. It is supposed to open Modal forms I had to close in order for the Report to gain focus once opened (which still doesn't work). Anyway, I can tell this code is being processed multiple times while the report is being opened as if the report is opening and closing multiple times before it stays opened... when it should only be opening once. Any clue why my Close_Event would be processing while the form is Opening?
(More if interested or if you need it)
On my report I have 3 graphs of the same height/width sitting on top of each other. I have code under the button_click event that opens this report, that checks to see a certain option the user has made and then makes 2 of the graphs invisible and 1 visible depending on the option. I think this is causing my problem (from above)... it would appear that since I have 3 graphs and I can see the process happening 3 times that the Close_Event is processing in conjunction with something to do with the graphs. Is there any connection there? The graphs rowsource is coming from a query which comes from fields from another form (not the form that opens the report, because that form is immediately closed in order to bring the report to view... which as I said before I still can't get to work, I have to alt-tab to the report right now)
Sorry for the run-on sentences I write like I talk.