Posted 14 April 2025, 8:42 pm EST
Using the Barcode control we can select the **AN128FNC1 ** style
AN128FNC1 is a UCC/EAN-128 (EAN128) type barcode that allows you to insert FNC1 character at any place and adjust the bar size, etc., which is not available in UCC/EAN-128.
We wish to include the FNC1 control character in the barcode.
The Active Reports helps advises.
To insert FNC1 character, set “\n” for C#, or “vbLf” for VB to Text property at runtime.
If we are trying to print a barcode that is “4001234Y123456789FNC190DD123456789” what exactly must we do to insert it.
We have tried numerous things to insert the FNC1 character. The script behind our reports is a VB script.
We have tried a “Datafield” from the SQL datasource and placed “4001234Y123456789FNC190DD123456789” and “4001234Y123456789vbLf90DD123456789” but in both cases the FNC1 or vbLf is not replaced in the barcode with the escape character.
We have tried setting the Text property from the Report Script in the barcode control and placed “4001234Y123456789FNC190DD123456789” and “4001234Y123456789vbLf90DD123456789” but in both cases the FNC1 or vbLf is not replaced in the barcode with the escape character.
ie Me.Barcode99.Text = “4001234Y123456789vbLf90DD123456789”
I noticed that there is a Supplement.Text property and we have tried setting that the vbLf also without any luck.
Can someone please advise of the scripting required to have the FNC1 character replaced in the middle of the Datafield for the barcode control. Thankyou