Crystal Reports 10, Visual Basic 6.
When assigning the header of the report a company name, not using a database I get a permission error or an invalid name error:
I have this field in the header of the report. The code behind the header of the report is this:
Receipt.RecordSelectionFormula = "{CompanyHeader} = 'My Company Name'"
And I've tried this
FormulaFields.GetItemByName("CompanyHeader").Text = "My Company Name"
What is the correct way to set the text of a formula field?
Thank you.
Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
When assigning the header of the report a company name, not using a database I get a permission error or an invalid name error:
I have this field in the header of the report. The code behind the header of the report is this:
Receipt.RecordSelectionFormula = "{CompanyHeader} = 'My Company Name'"
And I've tried this
FormulaFields.GetItemByName("CompanyHeader").Text = "My Company Name"
What is the correct way to set the text of a formula field?
Thank you.
Mark P.
Providing Low Cost Powerful Point of Sale Solutions.