Z-Space Technologies, Inc.
Support Forums
Join | Logon
ITScriptNet Support Forums
 All Threads | New ThreadView:  Search:  
 Author  Thread: Validation Error "Data Too Long!"
rockthrill
Posts: 1
Validation Error "Data Too Long!"
Posted: 07 Jul 09 1:19 PM
My goal is to scan a QR barcode and output it as a file on a PC. The barcodes are not standardized and will contain varying amounts of data up to 1500 characters.

I am new to using IT ScriptNet and barcoders, but I am not new to programming. The target device is a Dolphin 9550 with Windows mobile 2003, and I am using IT ScriptNet 3.0c for writing the program. I have started with one of the sample programs, LastScanDisplay. This program displays teh data in the barcode on the screen of the device. This program works with barcodes containing small amounts of data. For example two characters. When I try larger barcodes I get a message box titled, "Validation Error" with the text, "Data Too Long!" I got this message with a barcode storing 12 characters. I have not found anything relevant in the ITScriptNet documentation. I am not sure how to proceed. Please point me in the right direction. Thanks!
[Reply][Quote]
HHP-Brain
Posts: 13
Re: Validation Error "Data Too Long!"
Posted: 07 Jul 09 1:52 PM
Please take a look at the ITScriptNet Full Users Guide section '3.2.12 Input Text Element' under Maximum and Minimum Response Length.
The error occurs because the length of the data entered into the text element is longer then the maximum specified. For the LastScanDisplay sample, the tbScan element accepts a maximum of 12 characters. You'll need to change that to accept the longer bar code data.
[Reply][Quote]
Bev Connor
Posts: 93
Re: Validation Error "Data Too Long!"
Posted: 07 Jul 09 4:15 PM
The maximum response length is limited to 999 characters. If the program is going to parse the fields from the barcode scan and, if you do not need to store/save the entire raw scan, then you could override the scan length in a script. Please see the Knowledge Base article below for more information:

http://www.z-space.com/kb/Article.aspx?ID=10144&SearchID=3271


[Reply][Quote]
 Page 1 of 1 
 
Website (C) 2004-2008 Z-Space Technologies, Inc. All Rights Reserved.
All messages posted here are the sole responsiblity of the poster. Z-Space Technologies, Inc. is not responsible for the content of messages. Messages do not reflect the official positions or policies of Z-Space Technologies, Inc.