How to pass a pound sign to the RecordArea control

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF ReportWriter for .NET (v4)  /  How to pass a pound sign to the RecordArea control

DynamicPDF ReportWriter for .NET (v4) Forum

How can I pass a pound sign to a RecordArea control through VB .Net?

For instance, my code looks like the following:

sAddress = “#1 ABC Avenue”
CType(Report.GetReportElementById("raAddress"), RecordArea).Text = sAddress

After the report is run, the address is missing the pound sign.

Any help would be appreciated.
Posted by a ceTe Software moderator
Hello,

Currently it is not possible to add the # symbol to the report directly by adding the "#". This symbol will be used with the database field names to display the data in the report. So using this symbol will not display the symbol.

However there is a workaround to display this symbol in the report by using the ParameterDictionary. You will have to create a ParameterDictionary and add the # symbol as a parameter to it. You can access this parameter in the designer by using the parameter name. Please send a mail to our Support Team so that they can send a sample for this.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 4:03 AM.