IDAutomation.com, Inc., Computers Hardware, Software & Services, Tampa, FL Contact IDAutomationView your cart in the IDAutomation Store  
Loading

IDAutomation will be closed November 27th & 28th for Thanksgiving.

Home > Barcode Components > ActiveX Control > Microsoft InfoPath® Designer Barcode Tutorial:

Microsoft InfoPath Designer Barcode Tutorial

This tutorial provides examples for creating barcodes in Microsoft InfoPath® 2013 with the IDAutomation Barcode ActiveX Control and DLL. InfoPath Designer is an application offered in Office® 2003 and up.

Order the Barcode ActiveX Controls & DLLs Download Barcode ActiveX Controls & DLLs

When dealing with printed InfoPath forms, a linear barcode may be used to automate data entry and eliminate errors. The barcode used in this tutorial is provided by the Barcode ActiveX Control and DLL product. IDAutomation also offers other Barcode ActiveX Controls for support of 2D barcode types, such as Data Matrix and PDF417.

  1. Purchase or download the demo version of the Linear Barcode ActiveX Control and DLL.
  2. Open Microsoft Office InfoPath Designer.
  3. Open a pre-created Microsoft Access Database.
    Open Access Database
  4. Add in the tables desired with the Data Connections Wizard
    Add in table data
  5. Click the down arrow button in the Controls section of the Home Ribbon.
    Click the More Controls button
  6.  In the custom section, choose Add or Remove Custom Controls.
    Add or Remove Custom Controls
  7. Click Add Control.
    Add custom control
    Then choose the ActiveX Control radio button on the following screen.
  8. From the list of available controls, choose the Barcode ActiveX Control installed earlier; in this case it is named "IDAutomation Linear BarCode".
    Select the ActiveX Control
  9. When asked about installation options, choose to include a CAB file. IDAutomation supplies signed CAB files with all Barcode ActiveX Controls, which reside in the appropriate "Program Files" folder after installation.
    Cab files are included in the program files folder.
  10. When asked to specify a binding property, choose DataToEncode.
    Choose the DataToEncode binding property.
  11. The next screen allows the ability to enable or disable a property. If unsure, keep all default options and select Next.
    barcode activex properties
  12. Choose TEXT (String) for the data type and choose Finish and OK.
    Choose TEXT (String) for the data type
  13. The barcode control should now be available in the Custom Controls area of the Control Task Pane.
    Inserting the bar-code ActiveX in InfoPath.
    Create a place on the form where the barcode will be inserted. Be sure to leave adequate space for the height of the barcode and to the right and left of the barcode, as its width may vary with the amount of data encoded. Position the cursor in the field where the control will be inserted.
  14. Click on the custom barcode control that was just added to the Control Pane. In the Data Source screen, choose to set the binding to the queryFields that contains the data to barcode and choose OK. If the dataFields is chosen, a pop up will appear informing that this will be a one time barcode and not dynamic as data changes.
    binding the barcode to the data desired
  15. After the binding, the barcode will appear on the form with some default data applied.
    Binding the bar code to the InfoPath form.
     
  16. After saving and/or publishing the modified form, the barcode should appear. The barcode field will be automatically updated after that field is edited and the cursor is moved to another field. 
 © Copyright 2014 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.