CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2001
    Posts
    10

    help me....it's urgent

    hi,
    iam the beginer in vb...will u please tell me that ...how to use EDIT SELECTION FORMULA at run time.


  2. #2
    Join Date
    Jan 2001
    Posts
    365

    Re: help me....it's urgent

    Didn't get u the question...pls more clear


  3. #3
    Join Date
    Jun 2001
    Posts
    10

    Re: help me....it's urgent

    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



  4. #4
    Join Date
    Jan 2001
    Posts
    365

    Re: help me....it's urgent

    Thanks for the mail..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured