Good Day Guys! I have a new problem with my program. i've already created my report in crystal. within my report it has parameter (myinvoice) that the user needs to input. after that ive attached that report tom my reportviewer. i also added a textbox in my form where my value for the parameter is assigned. the problem now is the data being generated by the CR does not match with the parameter stated in my textbox.
heres my code:
Private Sub frmReport_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TextBox1.Text = invoice
Dim txtvalue As String
txtvalue = TextBox1.Text
Dim myreport As New rptinvoice
myreport.SetParameterValue("myinvoice", txtvalue)
End Sub
TIA