i have problem to pass string value in farmula fields in crystal report xi relased 2 edition.
in crystal report 8 we can easily pass numeric or string etc.
but in this version only numeric value can pass .
does any one know how to pass string value in farmula fields.
Thanks
Irfan Ullah

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.