Converting a binary string into a JPEG image in Crystal Reports 2008

Hi Gang
Iu2019m having problems converting a binary string into an image in Crystal Reports 2008
I have JPEG images stored in ECC.  ECC stores the data in binary format.
Iu2019m using the ECC function module SKWF_PHIO_CONTENT_ACCESS_GET to retrieve the data.  This function module has an export table, FILE_CONTENT_BINARY, which returns several lines of data.  Each line contains a maximum of 1,024 characters.
When I drop the T_ FILE_CONTENT_BINARY.LINE field into my Crystal Report detail section, I wind up with a report that displays all the lines in FILE_CONTENT_BINARY table.  (in my case, 19 lines are displayed.)
I created a formula to collect all the data into a single string.
whileprintingrecords;
stringvar data:= data & {SKWF_PHIO_CONTENT_ACCESS_GET.T_FILE_CONTENT_BINARY.LINE}
I added the formula to the detail section and itu2019s doing a great job collecting the data.
I then inserted a picture object in the report footer, opened the format editor, navigated to the u201Cpictureu201D tab, and inserted a formula for the u201Cgraphics locationu201D.
whileprintingrecords;
stringvar data:=data;
data
My clever idea turned out to be a disappointment . . . . my picture object is blank.
Does anyone have a solution for converting a binary string into a JPEG image?

Save the JPEG in a format CR supports. Refer to the help file for the file types.

Similar Messages

  • Error while dynamically setting logo image in Crystal Report 2008

    Hi,
    We have embedded Crystal Report 2008 JRC in our web application which is an Enterprise Archive (EAR) deployed on WebSphere Application Server.
    The RPT files bundulled in the archive displays a logo which is dynamicalli picked up by the RPT files from a configured location. Due to this the Report generation crashes when travesed to the sub reports/ groups within RPT. We have observed that this problem never occures if the logo is hard coded within the RPT files.
    The report crashing causes another big problem, it crashes the Applciation Server too. This is major concern to us and we need a resolution to this problem.
    Thanks in advance
    Alok Potdar

    FULL Stack Trace is as follows. We have not pasted in our earlier post...............
    3XMTHREADINFO      "WebContainer : 4" (TID:0x16AAE100, sys_thread_t:0x14B1F114, state:R, native ID:0x000015F4) prio=5
    4XESTACKTRACE          at sun/awt/color/CMM.cmmLoadProfile(Native Method)
    4XESTACKTRACE          at java/awt/color/ICC_Profile.getInstance(ICC_Profile.java:784)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.setImageData(JPEGImageReader.java:630)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.readImageHeader(Native Method)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.readNativeHeader(JPEGImageReader.java:588)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.checkTablesOnly(JPEGImageReader.java:343)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.gotoImage(JPEGImageReader.java:465)
    4XESTACKTRACE          at com/sun/imageio/plugins/jpeg/JPEGImageReader.getImageMetadata(JPEGImageReader.java:885)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/image/ImageUtils.a(SourceFile:896)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/image/ImageUtils.if(SourceFile:873)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/JavaImage.do(SourceFile:183)
    4XESTACKTRACE          at com/crystaldecisions/reports/common/CrystalImage.createImage(SourceFile:50)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedOleObject.new(SourceFile:101)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedOleObject.<init>(SourceFile:71)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/FormattedReportObject.a(SourceFile:148(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/w.for(SourceFile:105(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:428(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:250(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.a(SourceFile:887(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.e(SourceFile:784(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/u.for(SourceFile:242(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:243(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ObjectFormatter.a(SourceFile:210(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/v.a(SourceFile:185(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/v.a(SourceFile:230(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:359(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:133(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ColumnFormatter.for(SourceFile:120(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:503(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:452(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.a(SourceFile:369(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ah.a(SourceFile:70(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ReportColumnFormatter.a(SourceFile:86(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/SinglePageFormatter.a(SourceFile:332(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:359(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ai.for(SourceFile:133(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/ColumnFormatter.for(SourceFile:120(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/SinglePageFormatter.for(SourceFile:177)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/objectformatter/aa.a(SourceFile:64(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/PageFormatter.do(SourceFile:727)
    4XESTACKTRACE          at com/crystaldecisions/reports/formatter/formatter/paginator/PageFormatter.formatPage(SourceFile:226)
    4XESTACKTRACE          at com/businessobjects/reports/sdk/requesthandler/ReportViewingRequestHandler.byte(SourceFile:219)
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.do(SourceFile:1909(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.if(SourceFile:661(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.a(SourceFile:167(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter$2.a(SourceFile:529(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter$2.call(SourceFile(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/reports/common/ThreadGuard.syncExecute(SourceFile:95(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.for(SourceFile:525(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.int(SourceFile:424(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/reports/sdk/JRCCommunicationAdapter.request(SourceFile:352(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/sdk/erom/jrc/a.a(SourceFile:54(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/sdk/erom/jrc/a.execute(SourceFile:67(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/RemoteAgent$a.execute(SourceFile:716(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/CommunicationChannel.a(SourceFile:117(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/proxy/remoteagent/RemoteAgent.a(SourceFile:537(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ds.a(SourceFile:186(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ReportSource.a(SourceFile(Compiled Code))
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/ReportSource.getPage(SourceFile:767)
    4XESTACKTRACE          at com/crystaldecisions/sdk/occa/report/application/AdvancedReportSource.getPage(SourceFile:324)
    4XESTACKTRACE          at com/crystaldecisions/reports/reportengineinterface/JPEReportSource.getPage(SourceFile:149)
    4XESTACKTRACE          at com/businessobjects/report/web/event/s.a(SourceFile:158)
    4XESTACKTRACE          at com/businessobjects/report/web/event/s.a(SourceFile:127)
    4XESTACKTRACE          at com/businessobjects/report/web/event/bt.a(SourceFile:47)
    4XESTACKTRACE          at com/businessobjects/report/web/event/bw.broadcast(SourceFile:93(Compiled Code))
    4XESTACKTRACE          at com/businessobjects/report/web/event/am.a(SourceFile:53)
    4XESTACKTRACE          at com/businessobjects/report/web/a/t.if(SourceFile:2104)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:300)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:202)
    4XESTACKTRACE          at com/businessobjects/report/web/e.a(SourceFile:135)
    4XESTACKTRACE          at com/crystaldecisions/report/web/ServerControl.a(SourceFile:607)
    4XESTACKTRACE          at com/crystaldecisions/report/web/ServerControl.processHttpRequest(SourceFile:342)
    4XESTACKTRACE          at com/ibm/_jsp/_CrystalReportViewer._jspService(_CrystalReportViewer.java:107)
    4XESTACKTRACE          at com/ibm/ws/jsp/runtime/HttpJspBase.service(HttpJspBase.java:87)
    4XESTACKTRACE          at javax/servlet/http/HttpServlet.service(HttpServlet.java:856(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/ServletWrapper.service(ServletWrapper.java:1143(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:591(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/wswebcontainer/servlet/ServletWrapper.handleRequest(ServletWrapper.java:481(Compiled Code))
    4XESTACKTRACE          at com/ibm/wsspi/webcontainer/servlet/GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
    4XESTACKTRACE          at com/ibm/ws/jsp/webcontainerext/AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226)
    4XESTACKTRACE          at com/ibm/ws/webcontainer/servlet/CacheServletWrapper.handleRequest(CacheServletWrapper.java:90(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/WebContainer.handleRequest(WebContainer.java:748(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/wswebcontainer/WebContainer.handleRequest(WebContainer.java:1466(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/webcontainer/channel/WCChannelLink.ready(WCChannelLink.java:119(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpInboundLink.handleNewInformation(HttpInboundLink.java:387(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/http/channel/inbound/impl/HttpICLReadCallback.complete(HttpICLReadCallback.java:102(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/tcp/channel/impl/AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:143(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/AsyncFuture.completed(AsyncFuture.java:136(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler.complete(ResultHandler.java:196(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler.runEventProcessingLoop(ResultHandler.java:751(Compiled Code))
    4XESTACKTRACE          at com/ibm/io/async/ResultHandler$2.run(ResultHandler.java:881(Compiled Code))
    4XESTACKTRACE          at com/ibm/ws/util/ThreadPool$Worker.run(ThreadPool.java:1473(Compiled Code))
    NULL          
    1XMTHDINFO     All Thread Details
    NULL           -
    NULL

  • Show image in crystal report 2008

    Hi All,
    I have a UDF - image type in Sales order Line item which stores image.
    Currently I want to display sales order line item data in CR2008 using a query.
    All data is coming but image field is showing image name in place of showing image.
    How can I show image.
    Kindly suggest.
    Deep Kulshrestha

    Hi Deep,
    An image type UDF only stores the image name in the database. When you add an image, the SBO client takes a copy of the image file and puts it in the Pictures folder (as defined in General Settings). Therefore, to use dynamic images in Crystal you will need to do the following:
    1) Create a formula in Crystal that combines the image name from the UDF field and the path to the Pictures folder to create the full path to the image (note: your Pictures folder must use a UNC or mapped drive path rather than a local path). It's easiest just to hardcode the path to the Pictures folder in the report but you'll have to bear in mind that this setting is company database specific. If you want to be able to run the report for multiple SBO databases then you may need to use a formula to change the path (you could add the OADM table to the report but there is no suitable join between this table and other tables in the database. The report would work because there is only ever 1 record in OADM but it's not good report design).
    2) Once you have your formula you can add a add a picture to the body of the report (at this point you should select a default image)
    3) Right-click the picture on the layout and choose Format Graphic.
    4) Select the Picture tab and click on the formula button to the right of the Graphic Location property
    5) In the formula window set the return value to the formula you created in step 1.
    6) At this point your image will dynamically change based on the UDF value. You may want to set a formula in the Suppress property of the image so that the default image is hidden if the UDF field is blank for a particular record.
    Kind Regards,
    Owen

  • Background image with Crystal Report 2008

    Hi,
       I have to develop an invoice report with a background image on the full page.
    I have already develop some trying but i have not the right result:
    1) Background image in page header
    2) Create 2 different sections: one for the image and one with labels and data
    3) Background image in report header
    4) Background image in report footer
    In all of my tests  in Report > Section Expert, I check Underlay Following Sections on the Common tab
    but never the image was printed in background respect of the different sctions.
    I always got the image and then the rest of the report
    Can you help me please?
    Thank you for your attention
    Bye
    Edited by: EDPTEAM on Aug 30, 2011 5:52 PM

    Hello Brian.
    Thanks for you answer.
    I do just like you say but i have the same problem.
    My report is like an invoice: i have an header, a body with a group and 2 sections and a footer.
    All the pages of my report must be printed on a background image (A4 format).
    This is the problem.
    If i create a report with image in a single section all is ok. But in my report if i use a small image, the image is printed and hide columns separator (simple vertical lines) and show data but the following sections lose their right position.
    If I use the original image (A4 format) CR return the following error:
    header or footer too large for the page
    o similar word (I translate from italian to english because I am working with italian version).
    Do you have other solutions?
    Thank you wery much.
    Best regards

  • Converting a binary string to a number...

    Hi guys,
    I'm trying to convert a binary string into a decimal integer. I'm not sure if LabVIEW has a VI that does that. I haven't found one yet. Basically, say I have the string '0101'. I want to convert that to the value '5'. Or say I'm using hex, I want '10101111' to be converted to 'AF'. So that's my dilemma. I'm hoping I'm not going to have to make my own VI. Thanks a lot!
    -Mike

    LabVIEW has exactly what you want even if it can be hard to find it.
    To convert a binary text string like "0101" to a decimal value can easily be done using the Scan Value function found under the String/Number conversion section. If you provide the format %b to it (not mentioned in the manual) you will get the decimal value of your binary string.
    Also, on your front panel you can change the format of your numerical indicators by right clicking on it and selecting Format & Precision. If you have a numerical indicator you can set it do display the numbers in e.g. hexadecimal form.
    However, if you want to convert a number to a hexadecimal text string you can use the Number to Hexadecimal String function also found under the String/Number conversion section.
    I
    attached a simple example, Conversions.vi, that shows how it works. I hope this helps. /Mikael
    Attachments:
    conversions.vi ‏14 KB

  • Conversion of binary string into headecimal

    Ho will i convert binary string into hexadecimal fromat

    HI,
    Thanks but the above module is not present my system.
    I have number which needs to be converted into binary first and then into Hex.
    I have written it code for conversion of decimal number into Binary.But i am not able to convert it into Hex.
    My rough code is ....
    types : begin of t_temp,
            r1 type i,
            end of t_temp.
    data : ty_temp type standard table of t_temp ,
           wa_temp type t_temp.
    DATA : num TYPE i,
           temp1 TYPE string,
           temp2 TYPE string,
           temp3 TYPE string,
           temp4 TYPE x.
    temp1 = 0.
    temp2 = ''.
    num = 64.
    while num ne 1.
      temp1 = num MOD 2.
      num = num / 2.
      If temp1 = 1.
        num = num - 1.
      endif.
      concatenate temp1 temp2 into temp2 .
    endwhile.
      temp1 = 1.
      concatenate temp1 temp2 into temp2 .
      condense temp2 no-gaps .
      WRITE : temp2 .

  • Is there an easy way to convert a long string into an array?

    I can convert a long string into a 1-d array by parsing and using build array, but I would like to know if there is a function to make this easier.
    For example:
    from/   aaaaaaaabbbbbbbbccccccccdddddddd         (string of ascii)
    to/       an array that is 1-d with each element having eight characters
              aaaaaaaa
              bbbbbbbb
              cccccccc
              dddddddd
    Thank you.
    Solved!
    Go to Solution.

    Try something like this:
    (If you can guarantee that the string length is an integer multiple of 8, you an drop the two triangular modes in the upper left. )
    Message Edited by altenbach on 03-14-2010 06:40 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ChopString.png ‏9 KB

  • Converting a pdf document to a jpeg image C#

    HI There,
    How can I convert a pdf document to a jpeg image using c sharp? I need to do this on a web application. If someone can help me out with some code that would be great.
    Sean - thanks in advance

    The information provided by Aandi is unfortunately out of date. The Adobe PDF Library is obtained through Datalogics and has a JNI, Java, and .NET interface available. Additionally while the Adobe PDF Library with the .NET interface would provide the functionality you seek it is overkill.
    PDF2IMG from Datalogics has a COM component available that can be accessed via C# to convert PDF to most image formats.
    Michael Lee
    www.datalogics.com
    blog.worldofpdf.com

  • Converting a pages document into a .jpg image for web

    I am trying to convert a pages document into a .jpg image for uploading to idisk. When I drag to iphoto, then export, the image is really small even when I use the large size on the jpg photo export. Is there an easy way to do this..... I am trying to upload it to idisk then link it to craigslist.
    Help! It worked a couple of months ago!
    Thanks
    John

    A better way (I think) is to export or Print your Pages document as a PDF & open that PDF in Preview. Use the selection tool to select the area you want. You can crop & save as .jpg, but I recommend going to the File menu in Preview & choosing New From Clipboard to make a new file. This is because some programs, Pages in particular, will always "see" the unselected area & paste the whole thing. I also suggest using .png rather than .jpg. .jpg is a "lossy" format, .png will be much clearer.

  • Need help with adding formatted text and images to Crystal Report?

    Here's my scenario:
    I have a customer statement that's generated as a crystal report and that has a placeholder for advertisement. The advertisement is mixture of formatted text and images. Until now we only had one advertisement that was always used on the report. The new requirement is that we would have a pool of hundreds of advertisements and would need to display one specific advertisement on the customer statement based on various marketing criteria. They key is that the advertisement content will be determined programmatically and cannot be hardcoded into the report. I'm using Crystal2008 with .net SDK.
    Here are the solutions I thought of, but I'm still rather lost and would appreciate your help/opinion.
    1) Pass HTML or RTF to the report
    Not really sure if this is possible and how to get it done. Also how would I pass in images? Would display formatting be reliable when exporting to PDF?
    2) Create each add as a subreport and append it programatically
    I actually have this working, but I only know how to append a new section to the end of the report and then load the subreport to the section. I have no other controll of the placement. Is there a way to dynamically load a subreport to a predefined section in the main report? How about adding a dummy subreport in the main report as a placeholder and then replacing it with a different subreport? How could I do this?
    3) Pass an Image to the report
    I would create each advertisement as an image and then would somehow add the image to the report. How would I load the image and control the placement? Could I somehow define a placeholder for the image in the main report-maybe a dummy image to be replaced?
    Thank you.

    Hello Pavel,
    I would got the third way.
    You can use dynamic images in your report.
    Just by changing the URL to the image the image can be changed.
    Please see the [Crystal Manual|http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf] and search for images.
    or directly here
    [Setting a Dynamic Graphic Location Path on an Image Object|https://boc.sdn.sap.com/node/506]
    [Dynamic image and HTTP://|https://boc.sdn.sap.com/node/3646]
    [codesample for .NET|https://boc.sdn.sap.com/node/6000]
    Please also use
    [Crystal Reports 2008 SDK Documentation and Sample Code|https://boc.sdn.sap.com/developer/library/CR2008SDK]
    [Crystal Reports 2008 .NET SDK Tutorial Samples|https://boc.sdn.sap.com/node/6203]
    Hope this helps
    Falk

  • Images with Crystal Reports

    Somebody pls. advise if it's possible to display images with Crystal Reports ?!
    I want to generate a Price Catalog with images.   I have uploaded images into the system.
    Unfortunately, Oracle Report Builder has let me down.
    A short tutorial on how to achieve this will be useful as i am still trying to get acquainted with CR.
    Cheers - Mave

    Hi..
    I saw your snap shot, in your snap shot you are selecting table fields.  The option is much before selecting table fields.
    Like :
    a. Select Standard Report wizard
    b. It ask you to connect to your datasource (ODBC / OLE DB /Native)
    c.Once you connect to your database you will see below options
       - Your Database Name
          Add Command
          Tables
          Views
          Stored Procedures
    Here you need to select Add Command and it will opend a window to type your sql.
    Thanks,
    Sastry

  • Crystal Reports 2008 and Dynamic Images

    Hello,
    I have a windows .net application that uses a listing of items in a grid.  The user selects an item then clicks the print button and that brings up a report viewer form and passes the photograph location in a parameter to the report document being loaded.
    The first time that this report is printed, the image for the selected item is printed correctly.  The next time the report is printed, the default image used to create the graphic object on the report is printed.
    In addition if a user double clicks on the listing of items, a detail form is displayed.  When the same report is printed from this screen, the default image used to create the graphic object on the report is printed.
    This is happening in multiple .net windows applications.
    Can anyone please give me an idea as to what may be causing this.
    I am using Crystal Reports 2008 with Service Pack 2 installed.
    Thanks

    The following is the code in the Report Viewer form that contains the Crystal Report Viewer Control.
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Windows.Forms
    Imports System.IO
    Public Class RptViewer
        Inherits System.Windows.Forms.Form
        Dim MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument
    #Region " Windows Form Designer generated code "
        Public Sub New()
            MyBase.New()
            'This call is required by the Windows Form Designer.
            InitializeComponent()
            'Add any initialization after the InitializeComponent() call
        End Sub
        'Form overrides dispose to clean up the component list.
        Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing Then
                If Not (components Is Nothing) Then
                    components.Dispose()
                End If
            End If
            MyBase.Dispose(disposing)
        End Sub
        Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
        'Required by the Windows Form Designer
        Private components As System.ComponentModel.IContainer
        'NOTE: The following procedure is required by the Windows Form Designer
        'It can be modified using the Windows Form Designer. 
        'Do not modify it using the code editor.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(RptViewer))
            Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer
            Me.SuspendLayout()
            'CrystalReportViewer1
            Me.CrystalReportViewer1.ActiveViewIndex = -1
            Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
            Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
            Me.CrystalReportViewer1.Size = New System.Drawing.Size(656, 481)
            Me.CrystalReportViewer1.TabIndex = 0
            Me.CrystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None
            'RptViewer
            Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
            Me.ClientSize = New System.Drawing.Size(656, 481)
            Me.Controls.Add(Me.CrystalReportViewer1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "RptViewer"
            Me.Text = "Report Viewer"
            Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
            Me.ResumeLayout(False)
        End Sub
    #End Region
        Private Sub RptViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
                myConnectionInfo.ServerName = MyServer (Name of SQL Server)
                myConnectionInfo.DatabaseName = MySqlDb (Name of Database)
                myConnectionInfo.UserID = MyUid (Userid for SQL Database)
                myConnectionInfo.Password = MyPwd (Password for SQL Database)
                MyReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
                MyReport.Load(Path.GetFullPath(".") & "\" & MyReportFile)
                MyReport.SummaryInfo.ReportTitle = MyReportTitle  (Title passed to the report)
                MyReport.SummaryInfo.ReportComments = MyReportComments   (Comments passed to the report)
                SetDBLogonForReport(myConnectionInfo, MyReport)
              MyReport.SetParameterValue("MySequence", MyReportKey)  (Parameter passed to select single record in table)
               MyReport.SetParameterValue("MyPhotoLocation", sPhotoLocation)  (Physical Location of Photograph \\Server\Photos\)
                CrystalReportViewer1.ReportSource = MyReport
                'handle any exceptions
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Report could not be created", MessageBoxButtons.OK)
            End Try
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
            For Each myTable In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    End Class
    In the Crystal Report the Graphic Location formula field takes the {?MyPhotoLocation} + {Table.Photo} field to display the picture.  I have placed the parameter and the photo field on the report and the correct data is in the fields.
    This is the exact same form being opened and that displays correctly from the listing screen.
    Joel
    Edited by: JYaeger on Aug 8, 2009 2:56 AM

  • Hide Link Button Image used in Crystal Report 2008 while printing

    Hello Experts,
    I am using Link Button of SAP B1 in Crystal Report 2008 which works perfectly. But when i am trying to export it, i am also getting the image of Link Button.
    Is there a way to hide the image while printing?
    Thanks
    Shiv

    hi Piyush,
    there are some changes in the cr viewer between 3.1 to 4.x. can you please upgrade the reports that are not working to webelements 2.47 which was built for 4.0.
    let us know how this works.
    -jamie

  • Crystal Reports 2008 sql image field stretches in report display

    i have the full version of Crystal reports 2008 i run through a .net web form to display the reports. i have need to display logos which in resize mid stream before saving to the sq table. My problem is when i got to retrieve the images it looks like crystal is stretching them to fit. I can have horizontal or vertical images and i resize them to fit the smallest determined in the report. Another issue is the background turns black. The images appear to be "normal" outside of the report. Am i doing something wrong? Is there a setting i'm missing i need to config or something? I'm kind of lost i assumed as long as i stored the images in teh proper size they would diplay correctly. Any help is greatly appreciated.

    Are you seeing this behavior in the CR designer or in a .NET app?
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Thumbnail images in crystal report XI R2

    Please help on how to show thumbnail images in crystal report XI R2 using Oracle datbase.We are storing the images in database using image location ex:http:
    ..jpg and not the image itself.

    Crystal does not have the bility to use thunbnails. But that would be a great enhancement. I'll add it to the Enhancement request database.

Maybe you are looking for

  • Accessing a oracle DB from web AS in a DMZ zone

    Hi all, I using a webdynpro application where the backend is a oracle system.This system is different from the server. say the Web AS server is SYS1 and the server which has oracle as SYS2. I have created a DB in oracle DB of SYS2 and created a SID,u

  • Read .xls from specific path in host server in flex 4.5 using As3xls?

    Hi Guys I am New to flex programming and I have some doubts regarding exporting data from excel file to flex 1) Is there a way of reading excel file from a specific path in host server in flex 4.5 using as3xls?     i.e is I want to read a flex file f

  • Kernel Panic & DoubleCommand

    I recently installed DoubleCommand and right away, it caused a Kernel Panic. I didn't associate the two before, but now I hear it causes them. Next, I tried partitioning my drive for XP, and halfway through the partition, another kernel panic. This s

  • Mathscript null values in matrix

    Dear Forum members, Is there a command or method within MathScript of finding the range of rows within a matrix that contain all zeros. Example below shows a (5 x 3) matrix W: |  1    2    3   | |  4    5    6   | |  0    0    0   |   =  W |  0    0 

  • Problem log into the local host

    We have recently upgraded a test box from 47 EXT set 1, to 47 Ext set 2.0, we have added the parameter : rdisp/j2ee_start =1 to our profile and icman is running on port 8080 we can check that in transaction SMICM but when we go to transaction sicf to