I am having trouble passing in an integer as a parameter to my report.
Here's the code that is being executed from a click event of pushbutton:
Any suggestions ?Code:Dim fp As New frmPreview fp.CrystalReportViewer1.ReportSource = txtLabelFmt.Text fp.CrystalReportViewer1.ParameterFieldInfo(0).CurrentValues.AddValue(Val(tvNewOrders.SelectedNode.Tag)) fp.CrystalReportViewer1.Refresh() fp.ShowDialog()


Reply With Quote

