hi all,
actually i want to pass String value in Farmula fields in crystal report X1 Release 2 .but only numeric value can be passed.
in crystal report 8 it is possible that u can pass value of any type.
any one can help this artical.
thanks
Irfan Ullah

Recommended Answers

All 2 Replies

then make sure that-
u have declared all the variables in the table(i.e, while creating table ,make sure that "name" field is declared as varchar,"age" is declared has "int")And if u dont do so,all the variables in crystal report by default becomes integer variable..
so,check it out....

Hi,

Check this:

crxrpt.FormulaFields.Item("myFormula").Text = "'ABCDEF'"

Note the Text is First Wraped with single quote and then with double quote

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.