Results 1 to 5 of 5

Thread: How to Print a single record using Crystal Report

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142

    Exclamation

    Hi
    I would like to know how to print a single record of a table based on the user choise using a crystal report ?
    Thanks

  2. #2
    New Member
    Join Date
    Sep 2000
    Posts
    5
    Use the SelectionFormula property of the CrystalReport Control

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142
    Thank you, That was the clue to the correct needs, Appreciate

  4. #4
    New Member
    Join Date
    Oct 2000
    Location
    Hyderabad (INDIA)
    Posts
    6

    Arrow Crystal report printing

    CrystalReport1.ReportFileName="c:\project\empdet.rpt"

    To pass Numeric type parameter
    CrystalReport1.SelectionFormula="{emp.empno}=" & <value>

    To pass character type parameter
    CrystalReport1.SelectionFormula="{emp.empname}='" & <string value> & "'"

    To pass Date type parameter
    CrystalReport1.SelectionFormula="{emp.joindate}=date(" & format(<date value>,"yyyy,mm,dd") & ")"

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Location
    Saudi Arabia, Gulf side, Qatif
    Posts
    142
    Thanks, I tried it out and it works as per my needs, Thanks alot

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