Displaying image in crystal reports

I am storing the logo of my customer in the database(SQL Server 2005) in binary format.I use VS2005 for developing my application.I would like to use the logo from the database in all the crystal reports(which are already connected to concerned stored procedures) i use .
Can anyone tell me how i could accomplish that using c#.Net.
regards,
sunitha

Hi Sunitha,
Try with this code:
Add data into the dataset
ds.DataTable1.AddDataTable1Row(id, GetImageData(ofdImage.FileName), userName)
' GetImageData function
    Private Function GetImageData(ByVal fileName As String) As Byte()
        Dim fs As System.IO.FileStream = New System.IO.FileStream(fileName, IO.FileMode.Open, IO.FileAccess.Read)
        Dim br As System.IO.BinaryReader = New System.IO.BinaryReader(fs)
        Return (br.ReadBytes(Convert.ToInt32(br.BaseStream.Length)))
    End Function
Regards,
Shweta

Similar Messages

  • Visual Studio 2005 - Display images in Crystal Report

    I have been tyring to import an image from the HD into crystal reports. I have been failing miserably. I have researched the web and the forum and tired the approaches and still no luck.
    I do not use a database and am using the crystal report that came with VS 2005 PRO. What version of CR do I have?
    I have tried adding OLE object and still did not work.
    Please advice!

    Hi Jerry,
    What is the type of image you are trying to insert in Crystal reports ?
    Have you tried using Insert--Image? You have to select the location of the image and place it in your report.
    Is the image is located in your HD or pulling from network drive ?
    Please try the following :
    --Open your image in MS Paint
    --Save the image as .bmp in your local HD Drive
    --Insert the image directly or insert as OLE object.
    Hope this will help you.
    Thanks,
    Sastry

  • 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

  • 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.

  • Reader X: PDF image in Crystal Report shrinks

    Hi
    Have a Crystal Reports XI R2 report which includes in the report an OLE object linked to a PDF file.
    Since users have upgraded from Adobe Reader 9 to Adobe Reader X, the PDF image displayed when the Crystal report is output shrinks to approximately 25% of its size.
    Uninstall Reader X and reinstall Reader 9 and the PDF image appears to correct size when the Crystal Report is output.
    The users needs to upgrade to Reader X.
    Any ideas how to resolve this?

    Thank you for the response.
    I have tried this - but with no joy.
    There has been some success. We are finding with some users the image output is sporadically OK size.
    I wondered whether this was because I got users to print a PDF file from within Reader X first, setting size options in file>print from ‘shrink oversized pages’ to ‘actual size’. I'm uncertain about this as, although the Crystal Report with the PDF image then printed OK, it reverted back to shrunken image when printed again to the same printer - and seems to switch between successful print (image the correct size) and unsuccessful print (image appears shrunken). Also with one user it is always OK when printed to one printer.

  • 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.

  • Inserting images in Crystal Reports

    Hello,
    I have two questions regarding the use of pictures in a Crystal report :
    1. Is there a maximum dpi resolution limit for pictures to be inserted in a Crystal Reports.
    2. Is there a way to control the PDF output picture quality ? When exporting to PDF, the quality of the picture is reduced.
    Thank you
    Anthony

    I have the following questions about inserting images into Crystal Reports:
    1.  Can the images be positioned horizontally?
    2. When there is more that one image attached to a database record, can the number of images be limited in the report?
      (For example, limit the number of images for each record to two.)
    3. If there is more than one page to a record, how can the image for the record be suppressed on all pages subsequent to the first page of the report?
    4.  If there is no image attached to the database record, how the space reserved for the image closed up?
    Thank you.

  • Stored Procedure for displaying data in Crystal Reports

    Hi I am new to Oracle & Crystal Reports,so can any one please give me sample stored procedure to display data in Crystal report from Oracle by passing rwo input values.

    from site:-
    Crystal Reports will only support the return of a single refcursor from Oracle. Even the latest and greatest version 10 doesn't allow you to return more than one recordset at a time. You could add one more step to your procedure that would join up the output of the multiple refcursors into a PL/SQL table and then fetch the result set out through a single refcursor. That way you are using temporary space that will be cleaned up as soon as the connection is terminated and will only be returning a single refcursor

  • 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

  • Images in Crystal Report

    I wonder if there is any way to display the images in exactly the same dimensions as it was originally saved that is if the image s saved it should display as small and if big it should display as a big image

    One of the 3rd-party Crystal Reports Desktop Schedulers listed at http://kenhamady.com/bookmarks.html provides a solution for your use scenario.
    It allows you to automate the process of exporting a report to pdf and then inserting images based on directives provided by Crystal formulas.

  • Dynamic images in crystal reports for VS 2008

    The company logo scenario. The solution I'm trying unsuccessfully to implement entails:
    - the logo is not stored in the database, but resides locally on disk
    - strongly typed dataset generated by stored proc in sql server 2008
    - column defined in a dataset table as sqldatatype.binary, null value
    - populate dataset in .net by calling the proc
    - edit the byte[] column and replace null with a binary image
    - push the data into the report
    - print the report to pdf from a web application
    Everything works fine, no errors, but if I try and display the blob in the crystal report, nothing prints. If I remove the blob without modifying any of the above code, everything prints (all tables/rows).
    I have tried cloning the dataset and substituting the binary file into the appropriate column, thinking that the original might be READONLY, but the same result (prints perfectly if I don't try and show the blob).
    Robert

    Hi Don,
    I have read your response 10 times, but I don't really understand it.
    "Your only option is to use the Insert OLE Object or picture into the report" - fine, but how is this achieved from a dataset?
    "CR will not display BLOB fields as pictures" - fine, but maybe I used the word BLOB badly. The dataset column datatype is "byte[]". Will CR display byte[] columns as pictures?
    "You can use a database field to point to which picture file to use, then you won't be using up valuable memory space importing the images into your data set. And the Logo's now dynamic...." - this seems to suggest that the database field is a string storing the file location on disk. Yes? I don't care about memory space in this case and I'm happy to load a binary file into a byte[] column if there is a way of displaying it.
    So, if I understand correctly, you're suggesting the dataset contain a table.row.column which stores the filelocation. How do I convert that to display as a picture (dynamically)?
    Robert

  • Dynamic Images in Crystal Reports

    I have a report with Dynamic Images. I am able to run the report but once I try to export it or try to browse through the pages I get the following error:
    Application popup: Crystal Reports - [Inventory Graphics Report.rpt]: crw32.exe - Application Error : The exception Integer division by zero.
    (0xc0000094) occurred in the application at location 0x2c03a410.

    Hi Don,
    I have read your response 10 times, but I don't really understand it.
    "Your only option is to use the Insert OLE Object or picture into the report" - fine, but how is this achieved from a dataset?
    "CR will not display BLOB fields as pictures" - fine, but maybe I used the word BLOB badly. The dataset column datatype is "byte[]". Will CR display byte[] columns as pictures?
    "You can use a database field to point to which picture file to use, then you won't be using up valuable memory space importing the images into your data set. And the Logo's now dynamic...." - this seems to suggest that the database field is a string storing the file location on disk. Yes? I don't care about memory space in this case and I'm happy to load a binary file into a byte[] column if there is a way of displaying it.
    So, if I understand correctly, you're suggesting the dataset contain a table.row.column which stores the filelocation. How do I convert that to display as a picture (dynamically)?
    Robert

  • Can we use BLOB fields (that store images) in Crystal Report ?

    I'm developing with ASP.NET, VS.NET 2003.
    Using Crystal Report for VS.NET
    DataBase: Oracle 10g
    I store a BLOB field in a table. This field store images, like jpg files.
    The Stored Procedure that I use to fill the report is:
    OPEN MyCursor FOR
    SELECT MyId , MyImg
    FROM MyTable
    MyImg is BLOB field
    However, when I try to use the stored procedure in Crystal Report at design mode, any field can be displayed and then drag and drop to the report, but MyImg is not possible.
    There is an error message:
    Details: ADO Error Code: 0x80004005
    Source: Microsoft OLE DB Provider for Oracle
    Description: Data type is not supported
    I'm afraid that is not so easy for me to change DB connector drivers.
    My question is:
    - Is it possible to use BLOB fields in Cyrstal Reports?
    - Or should I convert them previously to something, so they can be displayed in Crystal Report at desing mode ?
    - If I should change DB connector drivers, which one should I use and from where should I download it and then install it in my Web Server?
    Thank you very much!

    Hi,
    I dont know much at all about CR, but I do know Microsoft's OLEDB Provider for Oracle doesnt support Blob datatype.. http://support.microsoft.com/kb/q244661/
    Oracle's OLEDB provider does though, you can get it as part of the ODAC download on OTN.
    Hope that helps,
    Greg

  • 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

  • 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

Maybe you are looking for

  • How To Configure TREX Name Server&Port for UDDI  Service Registry Settings

    Hello Experts, we are using CE 7.1 SP 4 and I would like to use the trex service in the Service Registry. I use \NWA\Service Registry Configuration\Service Registry Settings\Keyword Search and want to test the TREX Communication using the Test Connec

  • Seeburger Adapter issue

    Hi, when we try to upload multiple file into destination server. We are receiving a error as handshake failure. We are working on HA clustered enviornment. The error is basically happen, when muti-session pull and push on the destination server, the

  • Best way to Export/Import

    I am developing my application in Company environment. Whenever I posted in forums, helpers asked credentials on apex.oracle.com. Roel mentioned to create a sql file with all your data definitions (tables, packages etc) and data. But he did not have

  • Premiere Pro 2014 8.1 Poor Performance Issues

    I'm having the following issues across Premiere, Audition, and Media Encoder: 1.  Slow, choppy, unpredictable playback in the timeline      -I'm using a Blackmagic Ultrastudio 4K for monitor output, and that plays out smooth in general 2.  Overall UI

  • PowerShell Import-CSV cmdlet Help

    "as I am assuming I need the field to be EmailAddress"That is absolutely correct, to pipe the object from a csv straight to new-aduser the column headers in the csv must match the parameters of new-aduser. So mail won't work, but EmailAddress will.Yo