all groups > sql server reporting services > december 2005 >
You're in the

sql server reporting services

group:

non-typesafe data reporting


non-typesafe data reporting Chris
12/9/2005 12:47:54 PM
sql server reporting services:
I have vb.net 2005 code that generates data that needs to be reported.
The results need to be reported in generic text fields in the rdlc
report. Sometimes I will report 2 text values while the next time I
may report 3 values in the report text box.

My problem is that I can't pass this program generated data to the text
fields on the report. I used to do this and can still do this in
crystal reports and active reports by generating text objects on the
report followed by creating an instance of the report. Next the
instance property (any of the text boxes) value is set by means of
setting the parameter. Lastly generate the report.

In summary, I need to be able to pass specific program generated text
values to text boxes to a Microsoft report by NOT using a dataset or
datatable.

Thanks all
(crystal example)
Dim i As New CrystalReport1
i.SetParameterValue("Parameter_X", "test value for text box on
report")
Re: non-typesafe data reporting Bruce L-C [MVP]
12/9/2005 3:06:35 PM
Use hidden report parameters. Then hide or show the textbox based on whether
the parameter is filled in or not.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button