Earn Points & Redeem with attractive offers!
You can earn points, by asking, answering, voting questions and redeem with
attractive offers
. To view various available redemption schemes, please visit
"My Profile".
New User? Sign Up  |  Sign In  |  Help
Barcode support and tutorials from IDAutomation and the community. Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Ask
Ask a question. Make sure you select the correct category for the question.
Answer
Like to help others? Then browse through the open questions to answer their questions.
Find
Find answer by browsing the resolved questions.
     
Search for Questions:
My Profile

FulanoNadie

Resolved Questions Bookmark and Share

Correct Text in Crystal Reports

We are using an old version of the Universal UFL for Crystal Reports with the IDAutomation Universal Fonts.

The barcode encodes correctly, but since we're using tildes to encode the Application Identifiers in our GS1-128 barcodes, we are using the IDAutomation_Uni_C128HR() function for the human-readable (HR) text in a field underneath the barcode.

Issue: If we encode the 37 AI with a data of 10, the text improperly shows as (3710), instead of (37)10.

Our Function*: IDAutomation_Uni_C128HR("~20290100272~2023710~20291m2",true )

Result: (90)100272(3710)(91)m2

We Need: (90)100272(37)10(91)m2


Without having to replace a bunch of dataset fields, how can we correct the above issue in the HR?

*Please note that the 91 AI’s data is m2 - it is not a mod10 typo.




Operating System: Windows

Application: Crystal Reports

07-10-17     100 day(s) ago     Views: 109

    Report Abuse

 

James

Best Answer

The UFL being used has been deprecated and is no longer supported by IDAutomation. We generally recommend using the updated UFLs or Font Formulas.

With that said you may have your people use the following functionality to achieve the desired result – this is written in Crystal Syntax but it may be translated to Basic Syntax – adjust spacing after copying into Crystal Reports to avoid possible syntax errors:

//Declare and assign HR function's result to variable
stringVar tempHR:= IDAutomation_Uni_C128HR("~20290100272~2023710~20291m2",true );

//Use Crystal's REPLACE function to correct text - reassign result back to variable
tempHR:= Replace (tempHR, "(3710)", "(37)10");

//Return corrected text as field result
tempHR


Support Note: The above is outside the scope of support we provide but has been given above to aid clients with similar issues. For Crystal Report functions and their use, contact SAP.




Posted 100 day(s) ago

()
()
  Report Abuse
 
   Find Interesting  
   Email to Others  
   Bookmark  
   Subscribe to Answer Alert  
No comments yet.     Be the first to comment.

Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2017 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook