Results 1 to 2 of 2

Thread: Crystal Report RecordSelectionFormula

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    Crystal Report RecordSelectionFormula

    During design time, I do this:

    In my CrystalReport1.rpt, I right click on the detail section, I select "Select Expert" then I choose New tab, then dropdown(left),I choose "equal to"(right), I type "Programmer"

    I try this code to do it in Run time: (I don't know if I am right)

    Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument
    rpt = New CrystalReport1
    rpt.DataDefinition.RecordSelectionFormula = "{employee.empposition} = 'Programmer' "


    But this code doesnt work, what code should I write?

    please check the file I attached with this thread to understand this post more clearly.
    Attached Files Attached Files

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