How to pass data to Crystal report
Hi:
Here I have a simple question. In a crystal, how can I pass data to it , but not from Database. In the form I can create a text field then pass to it. In Datareport, I can create a label then pass to it.
But How can I do it in Crystal report. Should I create a formula first ??
In anybody know about it or have good tutorial about how to use Crystal report. It will be very helpful. Millions of thanks in Advance!!
Yeung
wky086
Re: How to pass data to Crystal report
YEs if you want to pass data from you form to a crystal report then use formula fields.
Create a formula field on your report (Myfield) then in your sunroutine where you run your report
you can use
Crystal1.Formulas(0)= "Myfield='" & text1.text & "'"
The best place for tutorials is seagates site http://community.seagatesoftware.com/homepage/
Re: How to pass data to Crystal report
Thanks, Tony.
Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.