473,441 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

Problem printed multiple instance reports

MJP
I've managed to preview multiple instances of a report, all with
different filters. The problem now occurs when I try to print these
reports or export as snapshot etc. If you try to print any of the
reports it only prints the first report that was created.

Are there any workarounds for this or is this just a limitation of
access?

Nov 30 '05 #1
3 1476
It sounds more like a limitation on your methodology.

Show us rge code your using and people may be able to help.

--
Terry Kreft

"MJP" <ma****@tiscali.co.uk> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I've managed to preview multiple instances of a report, all with
different filters. The problem now occurs when I try to print these
reports or export as snapshot etc. If you try to print any of the
reports it only prints the first report that was created.

Are there any workarounds for this or is this just a limitation of
access?

Dec 1 '05 #2
MJP
Dim rptInstance() as Report
Dim i as integer

i = 0

DateSQL = "DeliveryDate Between #01/01/2005# and #01/06/2005#"

Set rst = CurrentDb.OpenRecordset("SELECT PatientTag.TagID,
PatientTag.TagDescription FROM PatientTag;", dbOpenSnapshot)

rst.MoveFirst

While Not rst.EOF
sSQL = DateSQL & " And HomeTag = '" & rst!TagID & "'"

ReDim Preserve rptInstance(i)
Set rptInstance(i) = New Report_DeliveryPointPCTReport
rptInstance(i).Filter = sSQL
rptInstance(i).FilterOn = True
rptInstance(i).Visible = True
i = i + 1
rst.MoveNext

Wend

All the reports print fine, but when I try print or export any of them,
only the first report prints.

Dec 1 '05 #3
MJP
All the reports preview fine rather

Dec 1 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: AIMTech | last post by:
We have an IIS+ASP based application server that is capable of providing complex reports to hundreds of users but in some circumstances these reports can take a long time to create. However the...
3
by: Prakash Wadhwani | last post by:
In a report I have 3 sub-reports. Each Sub-Report has it's own Page Header. When I run the sub-reports individually, the page headers print correctly ... but ... when I run the main report the...
3
by: Steven Stewart | last post by:
Hi there, I have posted about this before, but yet to arrive at a solution. I am going to try to explain this better. I have an Employees table and a Datarecords table (one-to-many...
0
by: Chris Gardner | last post by:
I have a datagrid that prints a large number of records from a SQL database. Because it is a large table, when printed the table "bleeds" from one page to the next. Ideally, I would like to have...
3
by: jmacleve | last post by:
I am using Ahead Nero on a Win 2000 computer with Access 2000. I have a database we printed reports from that is sorted in a particular way. When I look at the report on the screen prior to...
11
by: Russ | last post by:
My web app writes some binary data to a file at the client site via Response.Write and Response.BinaryWrite. This action is accomplished in response to a button click, with C# code behind as...
39
by: Marcin Zmyslowski | last post by:
Hello all! I have the following problem with MS Access 2003 permissions. I have two users. One is admin and the second one is user who has full permissions to enter modify and read data. I...
4
by: solanki | last post by:
> Hi Folks, > > I am finding a small trouble while printing the entire contents of an > Iframe which carries an html report which is in turn generated by > jasper reports.s > > Hear is the...
1
by: richard.crosh | last post by:
What is the IBM recommendation for the number of DB2-LUW databases per instance on AIX? With Oracle, it is one-to-one. In DB2 multiple databases can co-exist in an instance but is this...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.