Displaying barcode in SSRS report

孤街浪徒 提交于 2019-12-02 04:09:47

问题


I am trying to display the barcode in the SSRS report.

I have created a field in the report for barcode in the visual studio and changed the font type to BC C39 3 to 1 Wide format. The corresponding text that I have used to display is "hellobarcode".

Whenever I generate the report, it is not displaying the barcode but the text only. Can anyone help please?


回答1:


I figured out the problem. When a particular field in the report is an hyperlink to other report (for drilldown purpose), it will get the default font format so that it won't display barcode font. I removed the hyperlink from the field and it showed the barcode.




回答2:


Check to see if the font is installed on the SSRS server.




回答3:


Go look how others have done it: \SSRS Reports\Reports\WMSLocationLabel

Your barcode font should be installed wherever the font is used, and usually is by the AX installer.

Some barcodes are only for numeric data, in others alphanumeric is okay. Also most fonts requires the field to be preprocessed (fx. a star in front and end). The Barcode class takes care of that.



来源:https://stackoverflow.com/questions/16318891/displaying-barcode-in-ssrs-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!