hi,
iam the beginer in vb...will u please tell me that ...how to use EDIT SELECTION FORMULA at run time.
Printable View
hi,
iam the beginer in vb...will u please tell me that ...how to use EDIT SELECTION FORMULA at run time.
Didn't get u the question...pls more clear
thank you for ur response.....any way i got the solution.
Actually my question was ...
how to give the where condition using RecordSelectionFormula prorperty of report object.
solution is:
Dim Report As New CrystalReport1
Private Sub Form_Load()
Dim x As String
CRViewer1.ReportSource = Report
x = FORM1.Text1.TEXT
Report.RecordSelectionFormula = "{ado.ch_no}=" & Chr(34) & x & Chr(34)
CRViewer1.ViewReport
End Sub
Thanks for the mail..