|
-
Sep 17th, 2000, 01:04 AM
#1
Thread Starter
Addicted Member
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
-
Sep 27th, 2000, 04:25 AM
#2
New Member
Use the SelectionFormula property of the CrystalReport Control
-
Sep 30th, 2000, 03:38 AM
#3
Thread Starter
Addicted Member
Thank you, That was the clue to the correct needs, Appreciate
-
Oct 2nd, 2000, 04:51 AM
#4
New Member
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") & ")"
-
Oct 2nd, 2000, 08:13 AM
#5
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|