473,471 Members | 4,648 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Print selected pages from two separate reports on one click

6 New Member
Hello everybody! I have two separate reports, each contains several subreports. Once in a while it is necessary to print certain pages from both reports for different users. I was wandering if there is a way to build a procedure that would ask first what pages from each report to print on one click. The challenge is that sometimes the pages change - i.e. if there is too much information, what usually was on a first page moves to a second and so on... Any help or ideas will greatly apprciated. Thank you, Serhii
May 1 '10 #1
3 2180
jimatqsi
1,271 Recognized Expert Top Contributor
I think you're going to have to specify the requested information differently. If the user cannot know the page number they cannot specify a page number range.

Can the desired information be specified by subreport instead of page number? If so, then just give them a list of available subreports and they select the ones they want to see. Maybe you don't even mention "subreports" in the form where they make the request, it's probably Greek to the user. But word it so that they know what you are referring to and you know what that translates to in the report/program.

Then in the report.format event you can turn off the unwanted subreports by changing the Source Object to ""

Hope that helps,
Jim
May 1 '10 #2
serhii7777
6 New Member
Jim,

thank you for the suggestion. Normally, I would use a number of subreports to construct a resulting document the way it suits the users. However, my issue is of a little different nature. One of the reports is actually a map with plotted events. In order to plot events on the embedded image of a map, the PSet method is used, which works only on Print Format. In other words, I can not include this report as a subreport to any other report. It simply does not work... My guess, this is an Access issue that was designed that way originally. What I am looking for is a way to tell Access to interrupt printing one of the reports after certain number of pages, then print another one-page map report and then continue printing the remaining pages of the first report. It sounds convoluted, but it seems that this is the only way. Any help with this would be greatly appreciated! Thank you! Serhii
May 5 '10 #3
Megalog
378 Recognized Expert Contributor
Would it be possible to just filter the reports for the data that's needed?
May 5 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jamey Shuemaker | last post by:
I've been looking for a way to do a duplex print job without a duplex printer. I reviewed some old posts about printing odd pages and found that most of them led to KB article 101075 or an export...
1
by: E. W via DotNetMonster.com | last post by:
Hi all, is it possible to configure a printpreview control so that I am able to print selected pages (for example 12-20 like by Word)? Thanks ew -- Message posted via DotNetMonster.com...
2
by: Dean Slindee | last post by:
Anybody written code in VB.NET to: 1) show a print preview window of reports already written and stored in an Access 2002 database; or 2) execute the print of a report stored in an Access 2002...
0
by: venky | last post by:
Hi ASP'ians I have a requirement where I need to have windows authentication enabled for only few ASP pages of my Site (Virtual Directory), rest of the pages should be enabled for anonymous access...
2
by: Coen | last post by:
Hi, can anyone help me with the printrange functionality? The problem is: whatever I try allways all the pages are print (directly to the printer or via a preview control). The VS-Build in...
3
by: jonkemm | last post by:
I've built a website using CSS, and am relatively new to the art. The lady I'm making it for noticed that a long page of text doesn't print properly (why print web pages?????) and I figured it had...
1
by: cmpirie | last post by:
I have a web program where I need to print multiple pages from a Print Button on the first page. (Each page also has it's own print button). How can I do this?
1
by: gurpreetintown | last post by:
In my project, i have 4 reports on 4 different report viewer controls and i use to print them seperately. Now requirement is of a single button on the main form to print all the reports with a...
8
tdw
by: tdw | last post by:
Hi, I have searched for this answer to no avail. I've found some very similar questions, but no answers that seem to apply. Here's the deal: All reports work fine on my computer. My boss,...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.