Crystal Reports 2013 - Code 39 Barcode

I was hoping someone might be able to help me getting the Code 39 function working to convert data to a barcode in Crystal Reports 2013.
Seems to be the work around from a UFL 'u25azalea.dll' error I was receiving.
I’m following the directions found here: http://www.azalea.com/crystal-reports-custom-functions/code-39/
I created a new function named “Barcode” with the func_Code-39_Full code:
Function (StringVar input)
Local StringVar temp;
Local StringVar chunk;
Local NumberVar i;
For i := 1 To Length(input) Do
chunk := input[i];
Select Asc (chunk)
Case 0:
temp := temp + "%U"
Case 1 To 26:
temp := temp + "$" + Chr(Asc(chunk) + 64)
Case 27 To 31:
temp := temp + "%" + Chr(Asc(chunk) + 38)
Case 32:
temp := temp + "_"
Case 33 To 44:
temp := temp + "/" + Chr(Asc(chunk) + 32)
Case 45 To 46:
temp := temp + chunk
Case 47:
temp := temp + "/O"
Case 48 To 57:
temp := temp + chunk
Case 58:
temp := temp + "/Z"
Case 59 To 63:
temp := temp + "%" + Chr(Asc(chunk) + 11)
Case 64:
temp := temp + "%V"
Case 65 To 90:
temp := temp + chunk
Case 91 To 95:
temp := temp + "%" + Chr(Asc(chunk) - 16)
Case 96:
temp := temp + "%W"
Case 97 To 122:
temp := temp + "+" + Chr(Asc(chunk) - 32)
Case 123 To 126:
temp := temp + "%" + Chr(Asc(chunk) - 43)
Case 127:
temp := temp + "%T";
"*" + temp + "*"
Then I created a new Formula named “TripNumBarcode” and dragged the Functions\CustomFunctions\Barcode (input) function into the Formula Editor window which looked like:
Barcode ()
I then dragged another Formula I use to calculate the trip number into this function:
Barcode ({@TripNumber})
But I’m getting an error of
A string is required here.
Any advice?

See this KBA:
1546515 - Error: UFL 'u25azalea.dll' that implements this function is missing
The KBA contains a solution of sorts. The ADAPT the KAB refers to is still set for SP 9 which should be out end of March +.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Crystal Report 2013 Vendor Code 102

    Hi,
    I have been getting this error database vendor code 102 in Crystal Report 2013.
    I have written my query in Command and created 2 date prompts of type date / datetime which is passed in query as mentioned below
    ('?From Date)
    ('?To Date)
    I am using SQL Server 2005 ,
    Now SQL Server 2005 stores datetime as yyy-mm-dd hh:mm:ss 000 and when i am selecting the dates in Crystal, it is entered as dd/mm/yyyy or dd/mm/yyyy hh:mm:ss
    how do i make both the formats compatible ?
    Is this the reason that i am getting Vendor Code 102 error ??
    Can anyone suggest ?

    hi Shivani,
    you should be able to use the CONVERT() function on your datetime field in order to have it match up with the format of the command parameter.
    as per this microsoft article, it looks like the value parameter should be 101.
    not sure if this particular syntax will work as i don't have sql server...
    CONVERT(VARCHAR(10),{your date field|, 101) = {?your command parameter}
    -jamie

  • Regarding Crystal Reports 2013 SP1/SP3 runtime distribution clafrifications

    Hi,
    We are in process of migrating exsisting Crystal Reports from CR 2008 SP4 to CR 2013 SP1/SP3.
    Iam unable to find the corresponding msms for the same for runtime distribution (to install on end user Boxs).
    Can see latest as v.13.0.13.1597 (_http://scn.sap.com/docs/DOC-7824)
    Please help out link where I can download msi (or msms) for Crystal Reports 2013 SP1/SP3 runtimes that need to be deployed on user PCs.
    Also need advise
    ( i ) Can we install both runtimes (CR 2008 SP4 and CR 2013 SP1) on user PC at same time? 
    ( ii ) We have already deployed CR 2008 SP4 runtimes on user PCs, is that sufficient? or do we need to install any other runtime?
    ( iii ) Will CR 2013 SP1 support old CR 2008 SP4 ?
    Thanks & Regards,
    Rajeshwar Rao

    Crystal 2013 does not come with the SDK, instead you have to download Crystal for Visual Studio  AND update your code to use it.  You can't just install one of the .msi  files or the .msm file (which are all available at the link you show above) and expect it to work with existing code.
    -Dell

  • Crystal Report 2013 memory problem

    Hi,
    I am developing a Windows service. The service calls Crystal Report to generate PDFs. When a new contract appears in database (MS Access), the service reads contract number and build a formular. Then pass the formular to ReportDocument. The code looks like this
    using (ReportDocument report = new ReportDocument()) {
      report.Load("contract.rpt");
      // some initialize report
      foreach (var contract in contracts) {
        report.RecordSelectionFormula = BuildFormular(contract);
        report.ExportToDisk(ExportFormatType.PortableDocFormat, BuildOutputFilename(contract));
      report.Close();
    It works fine. When deploy on production, I want the location of Access file can be changed programmatically. So I modified the code
    using (ReportDocument report = new ReportDocument()) {
      report.Load("contract.rpt");
      // some initialize report
      foreach (ReportDocument subreport in report.Subreports) {
         foreach (Table table in subreport.Database.Tables) {
           table.Location = MdbPath;
      foreach (Table table in report.Database.Tables) {
        table.Location = MdbPath;
      foreach (var contract in contracts) {
        report.RecordSelectionFormula = BuildFormular(contract);
        report.VerifyDatabase();
        report.ExportToDisk(ExportFormatType.PortableDocFormat, BuildOutputFilename(contract));
      report.Close();
    It works but memory increases over time. Here are Private Bytes (I use Performance Monitor tool)
    10:45 - 58.000MB
    11:00 - 61.801MB
    11:15 - 64.611MB
    11:30 - 65.544MB
    11:45 - 65.716MB
    12:30 - 69.095MB
    I also attached some screenshot of report of DebugDiag tool.
    My environment:
    Net framework 4.5
    Tool runs as Windows Service
    Crystal Report 2013 (Crystal Report Runtime 32bit 13.0.10.1385).
    Database: MS Access/OleDb
    Any suggestion?
    Many thanks

    Hi Ludek,
    I wrote 3 tests. You can get detail here:
    https://dl.dropboxusercontent.com/u/4059883/WinFormSavedData.zip
    https://dl.dropboxusercontent.com/u/4059883/WinFormSavedData.Statistic.docx
    https://dl.dropboxusercontent.com/u/4059883/WinFormNoSavedData.zip
    https://dl.dropboxusercontent.com/u/4059883/WinFormNoSavedData.Statistic.docx
    https://dl.dropboxusercontent.com/u/4059883/WinFormChangeLocation.zip
    https://dl.dropboxusercontent.com/u/4059883/WinFormChangeLocation.Statistic.docx
    Here are summary:
    Tests are a Windows Form apps with one main form which has one button. If we click on the button, it call Crystal Report to generate 100 pdf. The Access database is simple - one table which has 10 records.
    Test case 1 - Saved data report.
    I clicked 7 times (700 pdf created). Memory increase from 40.177 MB to 43.347 MB
    Test case 2 - No saved data report
    I clicked 10 times (1000 pdf created). Memory increase from 41.123MB to 42.835MB
    Test case 3 - No saved data report and change location
    I clicked 10 times (1000 pdf created). Memory increase from 52.412 to 54.063MB
    Because I am developing a Windows Service and it runs 24/7, I expected that memory should not increase over time. My service runs 2 or 3 days and Crystal Report throws exception "Not enough memory for operation"
    00:00:11,276 [Worker-8] ERROR e.PdfGenerator.PdfGeneratorJob - Error while generating pdf
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException:
    Not enough memory for operation.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod)
    Thank for all advice
    Vi

  • Migrate VB6 Crystal Report 6.0 application to Crystal Report 2013

    I have a VB6 application that includes the Crystl32.ocx from Crystal Report 6.0. Can someone suggest migration details to use Crystal Report 2013.

    Hi Manish,
    The VB6 application was written using RDC COM SDK which was available and supported til CR XI R2.
    From CR 2008 RDC COM SDK has been completely deprecated and is no more supported.
    There is no upgrade or migration path. With CR 2008 onwards only .NET and JAVA SDKs could be used.
    You would have to re-write the code using .NET SDK.
    All the resources for .NET SDK and plenti of sample codes are available, just search through forums.
    Also, CR 2013 does not have any SDK. You could design the reports with CR 2013 and use
    SAP Crystal Reports for Visual Studio (which works with VS 2010, 2012, 2013) to develop your applications.
    Here are few helpful articles
    http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2013/06/28/how-do-you-spell-confussion-cr-for-vs-crystal-2011-bi-4x-and-the-net-sdks
    http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2009/09/23/use-of-the-report-designer-component-rdc-in-vs-net
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Switch database in Crystal Report 2013

    Hi All,
    I have Crystal Report 2013 and my client require to connect multiple database with single report. I have more than 10 MySql database and all database structure are same.
    E.g. Create one report Employee Detail and connect using ODBC (RDO) I have successfully connected my single MySql database. Now I need to use this report for another database.
    My question is how to switch database at runtime?
    Anybody help me please.
    Thanks.

    You can create either a .NET or a Java app to schedule or view the report - it would connect in to the CMS and handle things from there.  It's not difficult to set the database connection in code.  Your best bet for additional help will be to look here:  http://scn.sap.com/community/bi-platform/microsoft-net-sdk or here:http://scn.sap.com/community/bi-platform/java-sdk.  There is sample code available in both places as well.
    Also, while I know that the utility Ido is referring to  will work with Crystal reports, I'm not entirely sure it will work with reports that reside in CRS.  So, you'll need to review it closely to determine whether it will work for you.
    -Dell

  • Cannot load report from server in Crystal Reports 2013 Viewer

    Hello,
    I am having trouble opening a report that is hosted on a Crystal Reports Server (2013) from the Crystal Viewer.  I've created and uploaded the reports using the report designer (version 2013).  The reports have been uploaded using the "Save As -> Enterprise" to save to my enterprise server.  This part works fine.  I then navigated to the Crystal Reports Viewer to open my report (that I just uploaded w/ the designer) from the server.  Depending on the report, one of two things happens:
    1.) I get a loading bar at the bottom right of the screen that says "Operation in progress . . ." followed by an error message:
    Unable to Refresh Report
    A problem occurred while refreshing on the server. The report may not be configured properly for refresh.
    Please contact your server administrator. (me)
    2.) I get a loading bar at the bottom right of the screen that says "Refreshing <file name of the report> (<server name>)" followed by... nothing.  The loading bar goes away and nothing happens.  It goes back to the screen that shows when the application first loads (blank canvas).
    I've taken some basic troubleshooting steps to try and rule out any potential issues that came to mind, but I've not been successful.
    Any help would be appreciated, thanks!

    Hi
    Check the below thread
    Crystal Reports 2013 data didn't refresh using OLE DB Provider for SQL Server
    With Regards
    Balaji Sampath

  • SAP tab in Crystal Reports 2013 issue

    We are using SAP Crystal Reports 2013 SP3 to build reports on BEX queries (BW 7.2). Creating a report via 'File' --> New connection --> BW MDX driver works fine, I can select bex queries & cubes and see the data. However SAP provided tab 'SAP' does not work as expected. When adding a new bex query using SAP--> Create new report from a query, I can see the list of queries and select one but it does not open and throws the following error -
    "An error occurred while generating a new report templete.
    No error"
    Using the "File" option any change to the .rpt file forces BO admin to update "DB logon" information in CMC (currently i cannot save .rpt file directly on enterprise from Crystal client due to some issue)  and we want to avoid this kind of maintainence using SAP authentication provided by using SAP tab, also the Crysal report prompts when run from BI launch pad request for prompt values twice (once for the report and once to pull list of values for each prompt) which can be avoided using SAP tab. I thought access to dev BW server is fine since the "File" tab works fine. Our BASIS team confirmed BOBJ dev servers have access to BW gateway. Am I missing something here, please help me with your experience and ideas to troubleshoot this as the only solution i could google was from a 2012 SAP recommended article to fix reginfo configuration files on SAP server
    I reinstalled Crystal Reports client twice to make sure intallation was not the issue.
    Thanks
    GORO.

    Hi Abhilash,
    Thanks for your response.
    Yes reports are working in CR 2013 designer.
    Getting Alignment and long spaces between the paragraphs issues even though report has properly designed on designer.
    After exporting to pdf getting above errors...
    -Srinivas

  • Unable to create a crystal report 2013 on the top of SAP BW 7.00

    Hello Team,
    We are trying to connect SAP Crystal Reports 2013 to SAP BW 7.00 SP26. This crystal report is being developed on the top of a BEx query accessing through OLAP.
    1.  We are getting an error- 'Internal Error: The reports applicatiton server failed'.
    2. Also, when we try to upload the same report from CMC, we get an error."...................Failed to read data from the report. Reason: Unable to open the OLAP Cube......."
    Please advise.
    Thanks.

    BI Platform
    -Abhilash

  • Where is the Manage Object function in Crystal Reports 2013 for the CMC?

    I recently upgraded to Crystal Reports 2013 after upgrading our Crystal Reports server to SAP Business Objects Platform 4.1. Before the upgrade, I could publish reports from Crystal Reports XI to the CMC then right-click on the report title in the Repository Explorer (in Crystal Reports) and I had the option to select Manage Object where I could set the default settings for the CMC. I am not seeing this option in the new version of Crystal Reports. Is there something I need to do to see this option or has this option been removed from Crystal Reports 2013?

    Hi Kelley,
    You're right, the option doesn't exist in CR XI R2 and above.
    All the options now need to be set in CMC.
    -Abhilash

  • Crystal Reports 2013 and Windows 8.1

    Hi,
    I'm trying to install the Crystal Reports 2013 designer on my PC, where it is installed the client of SBO 9.1 PL04.
    The operating system is Win 8.1 32bit.
    The setup of Crystal stops in the requistes control phase, in relation to the operating system.
    Is the last distributed version of Crystal designer not ready for win 8.1?
    Thanks.
    Antonio

    Hi
    Check the below matrix
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207e34ca-0eb0-3010-b29e-8cc43838ceea?QuickLink=index&…
    With Regards
    Balaji Sampath

  • Modify SQL query in Crystal Reports 2013

    Bonjour,
    Je voulais savoir s'il était possible de modifier la requête SQL dans Crystal Reports 2013, car les bases de données de notre application pour bibliothèque utilise un format de date particulier qu'il nous faut corriger directement dans la requête SQL.
    Merci pour vos informations.
    Cordialement
    Claude Marcilly
    Cannes - France
    Hello,
    I wanted to know if it was possible to modify the SQL query in Crystal Reports 2013. Databases of our application library indeed use a particular date format that we need to fix directly into the SQL query.
    Thank you for your information.
    Best regards
    Claude Marcilly
    Cannes - France

    Hi Claude,
    If you are creating reports using tables then go in Database menu and click on show SQL query, this will show the SQL generated by crystal reports.  Now go in database expert and expend your connection and double click on Add Command and past the query which was generated by Crystal and try to modify the date format and click OK.
    Now you need to redesign your reports based on Add command.
    or
    If your reports datasource is Add command you can directly go in add command and change it.
    -Sastry

  • Crystal Reports 2013 java-error "java.lang.ClassCastException: class com.crystaldecisions..." when promoting

    Hi,
    when promoting "Crystal Report 2013" report (with data connectivity BW MDX Query) from BO DEV to BO PROD with BO Promotion Mgmt (LCM), we get the following error message in LCM jobs history:
    Resolution Status=Overwritten, Dependency Status=All the required dependencies are included.,
    Commit Status=Commit attempted and failed.,
    Promotion Status=Failure : Object promoted. Update failed.
    Error: java.lang.ClassCastException: class com.crystaldecisions.sdk.occa.report.lib.ByteArray:java.net.URLClassLoader@1d634758 incompatible
    with class com.crystaldecisions.sdk.occa.report.lib.PropertyBag:java.net.URLClassLoader@1d634758
    The report itself is present on BO PROD, but the overwrite (BW DEV MDX Query-> BW PROD MDX Query) is not applied, so report connectivity still points to the BW Query on the development system :-( .
    Moreover, the overwrite itself is detected when the job is "test promoted" ("active overwrite").
    Before, we successfully were able to transport crystal reports 2013 with overwrite (the connection then pointed to BW PROD). No idea yet what suddenly changed that...
    Any ideas what causes the error and what can fix it (no posts found, no SAP note, google also no hits)?
    Best regards
    Florian Pitschi

    Update:
    After more investigation, it looks as if the BO Server "CrystalReports2013ReportApplicationServer"
    from time to time has an issue - not only when promoting, but also when viewing publications that contain Crystal Report documents or when executing them, the java class error or similar issue is thrown.
    Did sb face similar behaviour and knows what is the root cause for "CrystalReports2013ReportApplicationServer" not working probably and throwing the java-class error? - it was running fine for several months, now, the class error showed up twice in one month.
    We need to find out what is causing the issue (aleady checked tomcat and BO-logfiles...).
    Best Regards
    Florian

  • Unable to save reports to enterprise from Crystal Reports 2013 and Crystal Reports for Enterprise

    Dear Expert,
    when we tried to save report to enterprise, error happened:
    "Failed to find a Report Application Server."
    We closed BO server firewall.
    We could check report from PC by browser.
    But when we save report from CR 2013, then error happened.
    Then we install CR enterprise and save report is ok from same PC.
    We launch latest patches too.
    Anyone see this before? Please kindly help~
    Environment:
    SAP Crystal Reports 2013
    SAP Business Intelligence 4.0
    Regards,
    April.

    April, since you have CR4E, you also have BI and thus free phone support included. My suggestion would be to create a phone incident and work with an SAP engineer on the issue. Only saying because it looks like you're somewhat anxious to get this going(?).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • BW Connect To Crystal Report 2013 : issue

    Hello Expert ,
    i am trying to do Connectivity between BW to Crytal Report 2013 .
    i Followed the Steps to conect with sap bw server .
    SAP Toolbar -> Create New Report from Query .
    And in Crystal Report 2013 , May be not Required by integrity tool kit due to its by default .
    Can you please Help me to solve this issue :
    Below i attached one Snapshot.
    - Thank you.
    ~ Jatin Chauhan

    Hi - have you installed the SAP Integration Kit, as mentioned here? http://scn.sap.com/community/bi-platform/businessobjects-bi-for-sap/blog/2008/02/19/businessobjects-and-sap-part-2
    Separately, I recommend going with Crystal for Enterprise with BW; lately SAP has said to only use Crystal Reports 2013 if you need more functionality with SAP ERP than Crystal for Enterprise

Maybe you are looking for

  • How do I make a shop page on my Muse website

    Hey BC people, I have built a website with Muse and have got my client to sign up to a BC account that suits their needs. I am wanting to insert a shop page on my Adobe Muse built website. From what I read I could drop a module (created in BC) onto t

  • Macbook Pro mid-2010 is slow-please help.

    My MacBook Pro is too slow & the spinning pizza appears too often.  I have deleted as much as I can to help it out.  I have downloaded EtreCheck as other members have & included its results below.  Can anyone help me?  I have read many answers and un

  • Using More Than One iPod On One Computer

    Hi everyone, I am sure my question will be an easy one to answer for the right person - who will no doubt have more experience than Apple's helpline which I just tried. I have a 60gb iPod with Colour display, which syncs with my iTunes (version 7.0)

  • In XI no adapters are visible RWB  and the error "AE_DETAILS_GET_ERROR"

    In XI no adapters are visible in the RWB  and I get the error "AE_DETAILS_GET_ERROR"<BR> It happens after a database copy from PRD to QAS.<BR> I tried restarting the system, and checked the SLD content. Also the cash is refreshed.<BR> The standard af

  • Critical problem with font embedding

    Hello, I'm using a PDF generator which is basically a report. The PDF generator is running under a webservice (regular IIS on windows server 2008). The PDF document renderer is in FontEmbedding.Always mode and Unicode So basically we expect that all