I want to display some of the information not in the datasource selection but
through application passing in information. For example: personName,
reportName (dynamical defined depending on which button user click) and etc.
These variable only use in header or footer.
How can I pass these information to the report viwer? Any help is greatly
appreciated.I've done similar things using report parameters.
"Locus" <Locus@.discussions.microsoft.com> wrote in message
news:1FF52F89-D3F6-44C3-B42D-45BBABBDE2F0@.microsoft.com...
>I want to display some of the information not in the datasource selection
>but
> through application passing in information. For example: personName,
> reportName (dynamical defined depending on which button user click) and
> etc.
> These variable only use in header or footer.
> How can I pass these information to the report viwer? Any help is greatly
> appreciated.|||Hi Bill, how you do it?
I tried adding parameters, it seems to automatically pop up to ask for input
value, not allowing me to passing in value programmatically.
-- Locus
"Bill Miller" wrote:
> I've done similar things using report parameters.
> "Locus" <Locus@.discussions.microsoft.com> wrote in message
> news:1FF52F89-D3F6-44C3-B42D-45BBABBDE2F0@.microsoft.com...
> >I want to display some of the information not in the datasource selection
> >but
> > through application passing in information. For example: personName,
> > reportName (dynamical defined depending on which button user click) and
> > etc.
> > These variable only use in header or footer.
> >
> > How can I pass these information to the report viwer? Any help is greatly
> > appreciated.
>
>|||Try setting the Parameters Hidden parameter to checked.
"Locus" wrote:
> Hi Bill, how you do it?
> I tried adding parameters, it seems to automatically pop up to ask for input
> value, not allowing me to passing in value programmatically.
> -- Locus
> "Bill Miller" wrote:
> > I've done similar things using report parameters.
> >
> > "Locus" <Locus@.discussions.microsoft.com> wrote in message
> > news:1FF52F89-D3F6-44C3-B42D-45BBABBDE2F0@.microsoft.com...
> > >I want to display some of the information not in the datasource selection
> > >but
> > > through application passing in information. For example: personName,
> > > reportName (dynamical defined depending on which button user click) and
> > > etc.
> > > These variable only use in header or footer.
> > >
> > > How can I pass these information to the report viwer? Any help is greatly
> > > appreciated.
> >
> >
> >
Showing posts with label print. Show all posts
Showing posts with label print. Show all posts
Monday, March 26, 2012
Passing in own Variable to print
Wednesday, March 7, 2012
Pass in a DataTable
VB 2005 to Report Services 2005
My project shows a datagrid populated by a datatable. When the user clicks
on Print Grid, I want to send the datatable to a report service report.
What is the code to call the report service report and to send the datagrid
to the report?
I created a separate project for my report, because it is deployed to a
different location than my application project.Hello Mike,
Sorry for the long delay because of your account expired issue.
I would like to know this issue more clear. What do you mean that you want
to send the datatable to the report?
Do you mean that you want the report to show the information of the
datatable?
What's the report type? Did you use a report viewer control in your
application and the report is a local report or the report is a remote
report which hosted in the Report Server?
If you are using the remote report, unfortunately, you could not send the
datatable as the report content to the repert.
My suggestion is that you need to combine the datatable with a table in
your database. And after your user modify the datatable, pass the data back
to the database and use the report to query the datatable to show the
information.
Hope this will be helpful and if anything unclear, please feel free to let
me know.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.
My project shows a datagrid populated by a datatable. When the user clicks
on Print Grid, I want to send the datatable to a report service report.
What is the code to call the report service report and to send the datagrid
to the report?
I created a separate project for my report, because it is deployed to a
different location than my application project.Hello Mike,
Sorry for the long delay because of your account expired issue.
I would like to know this issue more clear. What do you mean that you want
to send the datatable to the report?
Do you mean that you want the report to show the information of the
datatable?
What's the report type? Did you use a report viewer control in your
application and the report is a local report or the report is a remote
report which hosted in the Report Server?
If you are using the remote report, unfortunately, you could not send the
datatable as the report content to the repert.
My suggestion is that you need to combine the datatable with a table in
your database. And after your user modify the datatable, pass the data back
to the database and use the report to query the datatable to show the
information.
Hope this will be helpful and if anything unclear, please feel free to let
me know.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.
Subscribe to:
Posts (Atom)