-
February 3rd, 2014, 03:17 AM
#1
In Crystal Reports, insert a field in a text object, but dynamically
I want to add a field (formula field or a field from a table) into a text object like so:
CType(
rap.ReportDefinition.ReportObjects(strTexobjectName),
CrystalDecisions.CrystalReports.Engine.TextObject
).Text = strText
But when I add a field, let's say {@SomeField}, CrystalReports will show me the text "{@SomeField}" instead of the value of the field. I know I can resolve this problem by adding a formula field manualy to the text object and then setting the formula field to:
'Some text and' + {@SomeField}
, but I have a lot of text objects that need adding formula fields.
Thank you in advance!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|