473,799 Members | 3,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reporting services and appending multiple documents

3 New Member
Ok not sure if this is where im meant to post my problem. But currently i'm generating a report through a webpage coded using vb.net.

I create the reporitng service and set the credentials and then set the render arguments. i then call the reportingservic es.render method to generate the report which all works fine. Currently the report takes in one paramater, in this case a invoice number and the report returned is an invoice. The report returned is a PDF file.

Now i'm wondering is there anyway to have the reporting service recieve multiple invoice numbers as a parameter and in return prints ALL invoices into one pdf file?
Jan 24 '07 #1
7 2852
radcaesar
759 Recognized Expert Contributor
That is not the task of reporting services. Thats ur logic. You can achieve this in crystal reports itself. Else try with Farpoint.

:)
Jan 24 '07 #2
Someone11
3 New Member
Hey thanks for the reply, i started thinking about this and now im not sure if this will work. But the render method returns a byte array so i tried to render two reports and return it in Byte1 and Byte2 arrays. Then i declared a filestream and created a file with the length of both these arrays lengths. THen i tried to call the Write method and write the two bytes into the file. Would this work?
I've got the following code

Two byte arrays which have been rendered and then

Dim length As Integer = Data.Length + Data2.Length

Dim stream As FileStream = File.Create("re port.pdf", length)

stream.Write(Da ta, 0, Data.Length)

stream.Write(Da ta2, Data.Length length)

stream.Close()
Jan 24 '07 #3
enreil
86 New Member
I don't think this is possible. There are several 3rd party solutions (see this link for a discussion of one that works with Crystal Reports: http://aspalliance.com/571_Merging_a...rystal_Reports) that can accomplish this task. I like your creativity, though!

Hey thanks for the reply, i started thinking about this and now im not sure if this will work. But the render method returns a byte array so i tried to render two reports and return it in Byte1 and Byte2 arrays. Then i declared a filestream and created a file with the length of both these arrays lengths. THen i tried to call the Write method and write the two bytes into the file. Would this work?
I've got the following code

Two byte arrays which have been rendered and then

Dim length As Integer = Data.Length + Data2.Length

Dim stream As FileStream = File.Create("re port.pdf", length)

stream.Write(Da ta, 0, Data.Length)

stream.Write(Da ta2, Data.Length length)

stream.Close()
Jan 24 '07 #4
Someone11
3 New Member
lol im still new to all this and i dont know whats possible.
But i cant use crystal reports as we already have all our reports written using sql reporting services. I'm sure if you have two byte arrays you can just combine it and get it to display?
Jan 24 '07 #5
enreil
86 New Member
Try looking into the following:

http://forums.microsoft.com/MSDN/Sho...39828&SiteID=1

lol im still new to all this and i dont know whats possible.
But i cant use crystal reports as we already have all our reports written using sql reporting services. I'm sure if you have two byte arrays you can just combine it and get it to display?
Jan 26 '07 #6
ronicard
3 New Member
Would it not be possible for you to change the parameters for report and, instead of taking a single id, accept a string. Then, your SQL query could return multiple invoices by doing a :

select
*
from
invoice_table t
where
t.id in (@parameterIDSt ring)

instead of

select
*
from
invoice_table t
where
t.id = (@parameterID)

Not sure if that helps, but I've done that before and gotten it to work.
Jun 12 '07 #7
Aligieri
1 New Member
Hi everyone.

I rendered two reports to PDF, joined the two byte arrays into one, created a FileStream and write the byte array that contains the reports into the file. The file is created with the correct length but, when I open the PDF, it only shows the last report. Does anyone have a solution for this?

Thanks,
Aligieri


Hey thanks for the reply, i started thinking about this and now im not sure if this will work. But the render method returns a byte array so i tried to render two reports and return it in Byte1 and Byte2 arrays. Then i declared a filestream and created a file with the length of both these arrays lengths. THen i tried to call the Write method and write the two bytes into the file. Would this work?
I've got the following code

Two byte arrays which have been rendered and then

Dim length As Integer = Data.Length + Data2.Length

Dim stream As FileStream = File.Create("re port.pdf", length)

stream.Write(Da ta, 0, Data.Length)

stream.Write(Da ta2, Data.Length length)

stream.Close()
Dec 10 '07 #8

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

Similar topics

0
1219
by: Justin | last post by:
Hello, I am having a weird problem installing SQL Server Reporting services on my PC. I installed the beta version and had some initial problems in the VS.net IDE that would not allow me to create a report at all. When the commercial release came out I uninstalled the beta version and installed the new version. Now when I try and start a new reporting project wizard in the VS.net IDE I get an error stating.. Project FActory is unable...
0
1306
by: Teo Lachev | last post by:
I would like to introduce you officially to my book "Reporting Services in Action" and let you know about its availability. I wrote this book for information workers, system administrators and developers who are planning to leverage Reporting Services to author, manage and distribute RS-based reports. It is a solution-oriented guide that teaches you RS by practical examples. Here are some of the solutions that are included in the book: ...
6
2354
by: P Jones | last post by:
Hi, I support an enterprise web application (IE client) built in VB6, with about 200 classes, serving about 7000 users, running on 3 clustered servers. I need to incorporate web reporting for the first time, so I am interested in learning what web reporting options are out there, and the pros and cons of each. In general I need to generate reports with XML documents as inputs, and make them available to all web users. I am partial...
8
2754
by: Woody Splawn | last post by:
I am asking this question here because I asked this question in the Reporting Services Newsgroup and did not get an answer. Does anyone know if Reporting Services is intended to work in a client/Server or Local machine environment? Based on what I have seen my guess is yes but that is a guess. In some materal it talks about it running on a web server but my supposition is that this does not necessarily mean that it would not make for a...
1
1297
by: LeAnne | last post by:
I've got SQL Server 2000 Developer edition. Now, where can i get the SQL Server 2000 Reporting Serives from for Win XP Pro?? I can't seem to find a link or any page where I could download this or buy this from. I just need a developer edition of SQL 2000 Reporting Services for Windows XP Pro.
1
6483
by: rmk | last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services both working on my development laptop ????? I have ASP.NET 1.1 and 2.0 installed on my laptop. I have Visual Studio 2003 and 2005 installed on my laptop. I have my default website configured for ASP.NET 2.0. I have the developer edition of SQL Server 2000 installed on my laptop as
1
2412
by: YellowfinTeam | last post by:
Marketplace: Yellowfin reporting 3.1 with BIRT Integration Yellowfin is proud to announce the release of 3.1. The major theme of this release is enhanced integration capability. We have introduced a range of new web services and authentication processes that allows for Yellowfin to be integrated into any environment with ease. These changes include: * Single signon capability
3
2903
by: Blasting Cap | last post by:
I'm using VS 2005, SQL 2005 reporting services. SQL reporting services is working, and I have it both on my local computer, as well as on a server. I've created a report in the SQL Business Intelligence development studio that works in that environment. I've uploaded the same report to both the Reporting services on my local computer as well as the server, and can log in to them and run the
2
1165
by: Todd VanDenHul | last post by:
Hey All, Does anyone know of any good reporting engines for .NET? We're currently evaluating Telerik, Reporting Services and Crystal Reports. We need to be able to have multiple input/output formats, drilldown capabilities and it needs to be easy for us and our users to create reports. Any input that anyone has would be appreciated.
0
10485
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10231
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9073
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7565
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5463
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.