In this simple guide, you will learn how to use the Barcode CRI component in RDL reports.
Visual Studio (VS) 2005/2008/2010/2012/2013/2015/2017 or Business Intelligent Development Studio (BIDS) 2005/2008 or SQL Server Data Tools
Reporting Services 2005/2008/2008-R2/2012/2014/2016/2017 Standard OR Enterprise OR Business OR Datacenter Editions ONLY
If you are using Express OR Workgroup OR Web Editions, then use the Barcode DLL component and NOT the Barcode CRI
In the following sample you'll create a Report Server Project which features barcode images by using Barcode CRI. This project will contain a simple RDL report displaying a List of products from Microsoft's AdventureWorks database sample http://msftdbprodsamples.codeplex.com/
This guide uses Visual Studio 2008 for reference but you can use the same approach if using a different Visual Studio version
Please follow up these steps:
Please ensure you've correctly configured Barcode CRI component
Open Visual Studio (or BIDS or SSDT) and create a new Report Server Project
With the Report Server project opened, add a new Data Source pointing to the AventureWorks database sample
Add a new Report item, name it to ProductList.rdlc, and enter the following SQL Statement:
SELECT ProductID, Name, ProductModel, CultureID FROM Production.vProductAndDescription WHERE (CultureID = N'en')
You'll notice that when you set up a Data Source's field to some property of Barcode Professional CRI, a yellow formula icon will appear on the barcode image, indicating that the barcode is data-bounded.
That's it! Click on the Preview tab to preview the report with barcodes
When you are ready for production, you must ensure that Barcode Professional is correctly configured and deployed to your Report Server! All steps for correctly deploying Barcode Professional CRI are stated in the Barcode CRI Deployment topic.
Tweet |
|
We provide best-in-class customer service and support directly from members of our dev team! If we are available when you contact us, you will get a response in few minutes; otherwise the maximum turnaround is 24hs in most cases.