I'm completely clueless to this as I have never used crystal reports before. So I want to use a textbox to pass values into my crystal report so basically only those I inputted into my textbox will be read and be outputted into my crystal report.
Here is my code so far:
Dim report As New crystalreportloginfo
Dim adapter As New SqlDataAdapter("select * from log_information where account_id='" & txtsearchaccountid.Text & "'", connection)
Dim datatable As New DataTable
adapter.Fill(datatable)
report.SetDataSource(datatable)
Login_Information_Report.viewerloginfo.ReportSource = report
Login_Information_Report.viewerloginfo.RefreshReport()