Gianni Sassanelli Active Member Licensed User Longtime User Apr 28, 2018 #1 Hi, I am developing an application for EAN128 barcode reading in this proce i need to track CHR(29) char that is used from EAN128 to separate 2 or more field i read my barcode in a textbox object but the chr(29) char is IGNORED CHAR(29) is not readable char and is the GS GroupSeparator used by GS1 128 standard I have tried the TXT_EnterPressed and Txt_TextChanged events but unsuccesfully. Can I have some help please? My string is "10010220" & CHR(29) & "370012" but in the before in mentioned event the CHR(29) IS NOT PRESENT!!! Thank's
Hi, I am developing an application for EAN128 barcode reading in this proce i need to track CHR(29) char that is used from EAN128 to separate 2 or more field i read my barcode in a textbox object but the chr(29) char is IGNORED CHAR(29) is not readable char and is the GS GroupSeparator used by GS1 128 standard I have tried the TXT_EnterPressed and Txt_TextChanged events but unsuccesfully. Can I have some help please? My string is "10010220" & CHR(29) & "370012" but in the before in mentioned event the CHR(29) IS NOT PRESENT!!! Thank's
KMatle Expert Licensed User Longtime User Apr 28, 2018 #2 It's always better to handle the source/raw data. So where do you get the data from? Is it via BT? Then check and handle the bytes received. Upvote 0
It's always better to handle the source/raw data. So where do you get the data from? Is it via BT? Then check and handle the bytes received.
Erel B4X founder Staff member Licensed User Longtime User Apr 29, 2018 #3 Just to be sure that the character is not there, check the string length with: Log(EditText1.Text.Length) and compare it to the visible characters. Upvote 0
Just to be sure that the character is not there, check the string length with: Log(EditText1.Text.Length) and compare it to the visible characters.
Derek Johnson Active Member Licensed User Longtime User Apr 29, 2018 #4 What type of scanner are you using? You can probably program it to translate the GS characters into a TAB or something more recognisable. See here for instance: https://support.honeywellaidc.com/s...GS1-128-UCC-EAN128-or-GS1-Datamatrix-bar-code Derek Upvote 0
What type of scanner are you using? You can probably program it to translate the GS characters into a TAB or something more recognisable. See here for instance: https://support.honeywellaidc.com/s...GS1-128-UCC-EAN128-or-GS1-Datamatrix-bar-code Derek
Gianni Sassanelli Active Member Licensed User Longtime User May 2, 2018 #5 Erel said: Just to be sure that the character is not there, check the string length with: Log(EditText1.Text.Length) and compare it to the visible characters. Click to expand... Hi Erel, with your souggest i have solved Code: Copy For n = 1 To txtBarcode.Text.Length if Asc(sf.Mid(txtBarcode.Text,n,1))) = 29 then msgbox("GS1 found","") end if Next Upvote 0
Erel said: Just to be sure that the character is not there, check the string length with: Log(EditText1.Text.Length) and compare it to the visible characters. Click to expand... Hi Erel, with your souggest i have solved Code: Copy For n = 1 To txtBarcode.Text.Length if Asc(sf.Mid(txtBarcode.Text,n,1))) = 29 then msgbox("GS1 found","") end if Next
Gianni Sassanelli Active Member Licensed User Longtime User May 2, 2018 #6 KMatle said: It's always better to handle the source/raw data. So where do you get the data from? Is it via BT? Then check and handle the bytes received. Click to expand... Thank's KMatle but is impossible for me do that you write I'm using an industrial Android device with inside Barcode Reader that work in keyboard emulation on Device. Upvote 0
KMatle said: It's always better to handle the source/raw data. So where do you get the data from? Is it via BT? Then check and handle the bytes received. Click to expand... Thank's KMatle but is impossible for me do that you write I'm using an industrial Android device with inside Barcode Reader that work in keyboard emulation on Device.