FNC1 Barcodes

Posted by: Shaun.Wilkinson on 14 April 2025, 8:42 pm EST

  • 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

  • Posted 17 April 2025, 2:12 am EST

    Hi Shaun,

    I have reported this issue to the Development Team. I will get back to you once I have any updates on the same[AR-35578]

  • Posted 28 April 2025, 12:29 am EST

    Are there any updates to this issue ?

    I am yet to hear anything.

    Can someone please advise how the AN128FNC1 barcode style works and exactly what value must be passed to the field to insert the FNC1 character within a string ?

  • Posted 29 April 2025, 1:20 am EST

    Hi Shaun,

    As I discussed, with the development team. It is suggested that char 10 be used for FNC1.

    Please refer to the attached sample report.

    I hope this helps!

  • Posted 29 April 2025, 1:49 am EST

    Where do I access the attached sample ?

    Sorry I cant find it

  • Posted 29 April 2025, 7:38 pm EST - Updated 29 April 2025, 7:38 pm EST

    Can you please advise where I access the sample report RPX file.

    Thanks in advance

  • Posted 29 April 2025, 11:18 pm EST

    Hi Shaun,

    It seems the attachment wasn’t uploaded properly last time. I have attached it again.

    Barcode test.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels