Click to See Complete Forum and Search --> : How to pass data to Crystal report


wky086
March 13th, 2001, 04:02 AM
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

TH1
March 13th, 2001, 04:35 AM
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/

Cimperiali
March 13th, 2001, 05:58 AM
Thanks, Tony.

Special thanks to Lothar "the Great" Haensler. Come back soon, you Guru.