We are using the following:
BarTender Designer 2016 R7 Enterprise Automation
Version 220.127.116.1146 (64 Bit)
Windows 10 x64 build 19045
In order to reduce operator error, we would like to be able to have an operator scan a barcode to input data into bartender, but parsed into 3 separate fields.
Scanning string: (01) 00850008997013 (21) 001585 (17) 23-01-01
Field 1: 00850008997013
Field 2: 001585
Field 3: 23-01-01
Currently, an operator is manually inputting each of the fields.
Is there a way to do this (parse a scanned string into 3 separate fields) in Bartender?
I have tried using VBScript to parse a scanned data as described here:
but it’s not working, in the help tab of BarTender I found this:
Using VBScript as a Data Source Type
Text, encoder, and barcode objects on a template can receive their data from a number of sources, including your keyboard, database or text files, and your computer's time and date functions. Sometimes, however, you may have special requirements, such as needing to read data from a file, process it, change it in some special way, and then perhaps combine it in an unusual manner with some other data. By offering the power of Microsoft's VBScript as a data source type, BarTender lets you process and combine the data for objects on a template in just about any way imaginable.
To set a data source's type to VBScript
To make Visual Basic Scripting accessible to more than just programmers, BarTender provides three levels of complexity for Visual Basic Script users who want to use VBScript as a data source type.
BarTender does not support automation for data entry controls. If you attempt to use an Object property in a data entry script (such as the OnPrePrompt or OnPostPrompt events), BarTender will return an error and your script will fail to execute.
Do we have the latest version of BarTender or we just can’t do this parsing?
Please sign in to leave a comment.