Hi All
I have a "Main" form that has multiple pages to it. Three of those pages have the same functionality in managing our contracts. All three forms have main subform that lists all the jobs under that contract and a second subform that lists the specific data for the job that is selected in the main subform. On the second subform, I have a button that opens up a report, does configuration to the report, saves and closes it and then produces a PDF.
The problem is with one of the three pages. When the report closes, the focus returns to the "Main" form, but goes to the first page on the form and not the page that was active. The other two forms remain on the page from where the report was produced.
I have stepped through the code and cannot determine why this happens.
Any ideas?
I have a "Main" form that has multiple pages to it. Three of those pages have the same functionality in managing our contracts. All three forms have main subform that lists all the jobs under that contract and a second subform that lists the specific data for the job that is selected in the main subform. On the second subform, I have a button that opens up a report, does configuration to the report, saves and closes it and then produces a PDF.
The problem is with one of the three pages. When the report closes, the focus returns to the "Main" form, but goes to the first page on the form and not the page that was active. The other two forms remain on the page from where the report was produced.
I have stepped through the code and cannot determine why this happens.
Any ideas?