If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Report
I'm trying to open Two reports with one command button. But everytime I click
the command button it goes to the report2. How can I open report1 click until I get to the last page on report1 then open report2. Is this possible. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...eries/201005/1 |
#2
|
|||
|
|||
Report
Maybe the easiest solution would be to open Report3 having Report1 and
Report2 as sub-report, if it is applicable in your scenario. In the button click procedure, you can check to see if there is actually a given report open, or not, using, among other possibilities: if Application.SysCmd(acSysCmdGetObjectState, acReport, "myReportName") 0 then DoCmd.OpenReport "myReportname", acViewPreview else DoCmd.OpenReport "otherReportName", acViewPreview end if (note that technically, you could also check to see if the second report is already open). Vanderghast, Access MVP "turks67 via AccessMonster.com" u48755@uwe wrote in message news:a863e41a87def@uwe... I'm trying to open Two reports with one command button. But everytime I click the command button it goes to the report2. How can I open report1 click until I get to the last page on report1 then open report2. Is this possible. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...eries/201005/1 |
Thread Tools | |
Display Modes | |
|
|