How do I populate the data needed for a PDF417 Barcode?

3 posts, 0 answers
  1. Anthony
    Anthony avatar
    2 posts
    Member since:
    Sep 2016

    Posted 27 Sep Link to this post

    I've been tasked with creating a requisition form for lab orders that are sent to a third party. Using the Stand-alone Report Designer, the form itself I had no trouble with creating, but the third party has specified criteria that must be met on this form. The main item is a required PDF417 barcode. I cannot figure out the syntax required to build this barcode. I'm completely guessing at every step since there doesn't appear to be any documentation on this.
    I have a blank report with the PDF417 Barcode Report Item added.

    The Third Party requires the barcode have a structure like the following:

    Between the Pipe or Caret characters I'll need to populate my fixed values or data fields like the following 'P' segment:

    So in the Expression I put in this.
    ='P|'Fields.P1_PtChartno   + '||||||' + Fields.P7_Account_clientNo + '|' + Fields.P8_RequisitionNo + '|' + Fields.P9_PtNameLast + '^' + Fields.P9_PtNameFirst + '^' + Fields.P9_PtNameMiddle + '|' + Fields.P10_PtDOB

    This didn't work, but it didn't error. Just no results when scanned. I found a post on the forum stating that if any field returns a NULL nothing will be displayed. So, I tried the suggested fix.

    Progress! Although not entirely correct data, I got results:

    Issue here is the value ‘JBF’ should be ‘915’ and ‘CAAAAIAE’ should ‘20000804’

    If I add another segment the issue shifts fields:
    ='H|EDIFECS|'+ IsNull(Fields.H2_reqdate,"")+'|'+IsNull(Fields.H3_ediident,"")+'|^^||'

    P returns as #, 44555 as EEFFF, and JONES^JOHNNY^ as 9:,4$Y9:7,,^Y

    I know I’m doing it wrong, but I can’t find the correct way to format the expression.

  2. Nasko
    Nasko avatar
    909 posts

    Posted 28 Sep Link to this post

    Hello Anthony,

    The issue seems to be specific to the structure required by the third party. We provided a reply in the support thread that you opened on the same topic. Let us continue the discussion there.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Anthony
    Anthony avatar
    2 posts
    Member since:
    Sep 2016

    Posted 28 Sep in reply to Nasko Link to this post

    Thank you, Nasko. 

    I tested this by replacing the Pipe delimiters with Colons and the data was rendered correctly. Unfortunately, I cannot complete this project until I can use Pipes as delimiters. Thanks again for your assistance.

Back to Top