Hello everyone,
I have a requirement to print Barcodes on a SSRS Report.
I have Created the field Barcode in MyTmpTable, EDT:BarcodeString.
I fullfill the field in processReport method Of MyDPClass as following:
MyTmpTable.Barcode = this.showBarcode(string);
where string is the string that needs to be coded. In the showBarcode method i have the following code:
public BarCodeString showBarcode(str _barcode)
{
Barcode barcode;
barcode = Barcode::construct(BarcodeType::Code39);
barcode.string(true, _barcode);
barcode.encode();
return barcode.barcodeStr();
}
Then, on Visual Studio I have:
The problem is that when it prints, it prints only the barcode:
It does not print the value of the string below the barcode, as it should be printed.
I have tried with debug and the field MyTmpTable.Barcode takes the right value(*690214*), but on the report it shows only the barcode.
Can Anyone give any suggestion, why it prints only the barcode, and not its value below?
Thanks in advance!
*This post is locked for comments