Skip to main content

Search

Search

Preventing Duplicate Data And Data Validation

Comments

1 comment

  • Avatar
    Ian Cummings
    Moderator

    The best way to avoid duplicates is to write a record to a central database for each product/label produced.  Then for each new label/product the database will be queried to make sure that it hasn't already been done, only when no records are found will printing continue.

     

    Unfortunately BarTender doesn't have a built-in  ability to write to a database other than with a VB script in a BarTender document, which I don't think you can rely upon 100%.  Instead I suggest you create a front-end application to handle the data entry validation, and to query and write to the central database for products/labels printed.  When validation and product checking is complete it would then control BarTender via automation to print the labels with the entered data a needed.  See the below white paper for an introduction on controlling BarTender via automation:

     

    http://www.bartenderbarcodesoftware.com/label-software/whitepapers/Controlling-Barcode-Label-Software-using-C-Sharp-and-VB.NET(English).pdf

    0

Please sign in to leave a comment.