Skip to Content
0
Former Member
Jul 26, 2010 at 01:02 PM

How to set Formulas in crystal reports 2008

137 Views

Hi,

I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same

CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"

CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"

CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"

Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008

Any code snippet would be of great Help.

Thanks in Adnvance.

Ramnath