Hi
I am getting an error while trying to pass a string value to a formula field in crystal report. I am using
VB.Net
Error message is
"The remaining items doen't appear to be part of the formula"
this is the line of code
rptDocument.DataDefinition.FormulaFields.Item(1).T ext = "Receipt"
but when I use data fields from a table it works fine.But I cannot assign a string constant.
rptDocument.DataDefinition.FormulaFields("crT").Te xt = "{ReceiptMast.RecNo}" , works fine.
I have tried the below lines of code also, but no result.
rptDocument.DataDefinition.FormulaFields.Item("For mulaName").Text = "Receipt"
rptDocument.DataDefinition.FormulaFields("FormulaN ame").Text = "Receipt"
pls help