cancel
Showing results for 
Search instead for 
Did you mean: 

how to assign a variable value to crystal report viewer formula with CR2008

Former Member
0 Kudos

Hi ,

I am using crystal reports 2008 and i am not able to find how to assign variable value to crystal report viewer formula.

In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1

crystalreport1.Formulas(1) = variable2

but, i don't find similar kind in crystal reports 2008.

How can i achieve the same functionality using crystal reports 2008.

Thanks in Advance

Regards,

Ramnath

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member183750
Active Contributor
0 Kudos

cross post of

Former Member
0 Kudos

Hi,

Can i anyone help me out with this.

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

former_member183750
Active Contributor
0 Kudos

Do not cross post. See the Rules of Engagement sticky post both at the top of this forum and the .NET Development - Crystal Reports forum that you also posted the same query to.

Closing and locking this post.

Ludek