# Re: CrystalReport一问?

Posted by lijen on January 13, 1999 at 14:30:53:

In Reply to: Re: CrystalReport一问? posted by Lai on January 12, 1999 at 08:31:41:

: : : 请问...
: : : Form上TextBox的值要如何放到CrystalReport印出

: : 先在Crystal Report拉一个textbox出来
: : 然后在form里输入
: : Report.Text1.SetText Text1.Text

: 感谢Nelson,可否再说明(我才接触vb6不久)
: 1.在Crystal Report如何拉一个textbox出来
: 2.Report.Text1.SetText Text1.Text要在何处叙述
: 非常感谢...

i think you are using crystal report 4.6

1. insert a formula field(eg. formula_1) and set
this formula initial value = "" in your crystal
report file
2. go back to vb, i assume you have put a crystal
report control on your form(eg. crystalreport1)
3. try code crystalreport1.formula(0) =
"formula_1 = " text1.text

Follow Ups: