For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > March 2008 > How to change a report at runtime...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to change a report at runtime...
Roz

2008-02-20, 7:26 pm

I apologize if this question has been asked before. I have a simple .NET web
page with a Viewer and ReportSource control on it. I'd like to dynamically
change the report at runtime. Essentially:
1. From Page A, user selects from a list of crystal reports on the web
server. From there, they redirect/or button click to Page B.
2. Page B (which has the viewer/report source) controls, will display the
report selected from page a. Of course I'd have to deal with database login,
etc.

How can I accomplish this with the least amount of heartburn. I'm suing VS
2005.

Much, much thnx.
Roz
oaksong

2008-03-20, 7:26 pm

On Feb 20, 3:56 pm, Roz <R...@discussions.microsoft.com> wrote:
> I apologize if this question has been asked before. I have a simple .NET web
> page with a Viewer and ReportSource control on it. I'd like to dynamically
> change the report at runtime. Essentially:
> 1. From Page A, user selects from a list of crystal reports on the web
> server. From there, they redirect/or button click to Page B.
> 2. Page B (which has the viewer/report source) controls, will display the
> report selected from page a. Of course I'd have to deal with database login,
> etc.
>
> How can I accomplish this with the least amount of heartburn. I'm suing VS
> 2005.
>
> Much, much thnx.
> Roz


Put the report name into a session variable on the selection page and
reference on the page that has the viewer.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com