Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

128 Barcode Symbology #1

Open
kilroy1103 opened this issue Aug 3, 2018 · 0 comments
Open

128 Barcode Symbology #1

kilroy1103 opened this issue Aug 3, 2018 · 0 comments

Comments

@kilroy1103
Copy link

I have this:

`SET PROCEDURE TO FoxBarCode ADDITIVE
SET PROCEDURE TO gpImage2 ADDITIVE
PRIVATE loFbc
loFbc = CREATEOBJECT("FoxBarcode")

WITH loFbc
.cSet128 = "*" && * - Auto, A - Set A, B- Set B, C - Set C
.lShowHumanReadableText = .F.
.nBarcodeType = 110 && Code 128
.nImageHeight = 100
.nAlignText = 2 && 0 - Left-aligned, 1 - Center, 2 - Right-aligned
ENDWITH`

In my label, which I call immediately after the code above, I have an image control with control source "loFbc.BarcodeImage(ALLTRIM(TRANSFORM(TSample.Out_Qty, "99,999")) + " EA")". The problem is in the generated 128 symbology. There is no problem when the TSample.Out_Qty is 9,999 or below. But when the said field is beyond that, there is where the problem show. If, for example, TSample.Out_Qty is let's say 41,875, the scanned value will always return 41,8750EA. I tested any other value greater 9,999 and it always converts the space between the number and the "EA" string to zero (0). Does the class allow space between a number greater than 9,999 and a string?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant