For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > April 2005 > CR 10 - Howto refresh data









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 CR 10 - Howto refresh data
runningdog

2005-04-29, 4:03 am

Hi,

In a vb.net windows form app I have a CrystalReportViewer object
It's ReportSource is set to a ReportDocument

The following code sets the report parameters and the ReportView
subsequently displays correctly.

With Report
.SetParameterValue("Number", NumberRange)
.SetParameterValue("StreetAddress", Address.Text)
.SetParameterValue("Name", OName.Text))
End With

Problems;

1. The refresh button causes the user to be promted for the parameter
values.
2. ReportViewer.RefreshReport cause same as 1.

How can I refresh the report with parameters set progromatically?

TIA Steve


Sponsored Links







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

Copyright 2008 codecomments.com