Dynamically change an image at runtime in Crystal Report

Hello,
I am using crystal report included in VS 2005 and want to display an image at runtime. I have tried using Picture control and OLE Object of crystal report, but did not get any success. I have googled for this and most of them are saying Right Click on Picture
control->Format Object->Select Picture Tab->Click on X2 next to Graphic Location. But I do not found any Graphic location field in picture tab. Pl see the attached screen shot.
Can anyone guide me how to load an image at runtime in crystal reports?
I am using CrystalReport11 and VS2005. It's a VC++/MFC project.

If you are using Crystal Report for Visual Studio, ask at http://forums.sdn.sap.com/forum.jspa?forumID=313
Microsoft does not offer support for third party software. 
Visual C++ MVP

Similar Messages

  • Is it possible to dynamically change the image in a Picture Field?

    Is it possible to dynamically change the image in a Picture Field?
    Thank you

    Try using the In Proc RAS SDK.
    [Here are the sample applications.|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/b02c1cac-ad86-2b10-88ae-cb36551bab06] Take a look at the 'Add Image' sample.
    Insert the picture at design or runtime and change the location / name of the image at runtime.
    - Bhushan.

  • *** Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report!!!

    Canu2019t Change ServerName or DatabaseName At Runtime In Crystal Report. Why?
    HI thereu2026 This is just a simple Winform(not ASP) with a Crystal Report Viewer control on it that was called by another simple WinForm. Iu2019m trying to simply change the Server Name for a Crystal Report at runtime and it will not let me. Hereu2019s the code below. The database is identical to my development server database. This should be easy to do as I did below. I use SQL Server 2005(SPK 2) and Visual Basic 2008. I use the Crystal Reports 2008 standalone designer(seperate program), not the older one in the VS IDE. When I run the code it accepts changes to the user name and password but ignores any change to the ServerName or DatabaseName. Why?
    Mike in Los Angeles, Calif, USA
    Imports CrystalDecisions.CrystalReports.Engine
    Public Class CrystalReportForm2
        Private Sub CrystalReportForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            CrystalReportViewer1.LogOnInfo = New CrystalDecisions.Shared.TableLogOnInfos()
            Dim LogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
            LogonInfo.TableName = "clients"
            'Force crystal report to use a different server AT RUNTIME than the development server!
            LogonInfo.ConnectionInfo.ServerName = "DATASERVER2"    u2018<- ignores changes to this!!
            LogonInfo.ConnectionInfo.DatabaseName = "CMSDATASQL"   u2018<- ignores changes to this!!
            LogonInfo.ConnectionInfo.UserID = "SQL_USER"           u2018<- accepts changes to this!!
            LogonInfo.ConnectionInfo.Password = "34567WERTD"       u2018<- accepts changes to this!!
            CrystalReportViewer1.LogOnInfo.Add(LogonInfo)
            'Testing only below!
            ' MsgBox("ServerName =" & CrystalReportViewer1.LogOnInfo(0).ConnectionInfo.ServerName)
            'MsgBox("DatabaseName =" & CrystalReportViewer1.LogOnInfo(0).ConnectionInfo.DatabaseName)
            CrystalReportViewer1.SelectionFormula = "{openclientsquery.lastname} like  'c*'"
            'CrystalReportViewer1.SelectionFormula = "{clients.clientid} = '1111111'"
            CrystalReportViewer1.Refresh()
        End Sub
    End Class
    Edited by: Mike JJJ on Dec 25, 2008 7:26 PM
    Edited by: Mike JJJ on Dec 25, 2008 7:30 PM

    Yes, you have to simply loop through all the tables in the report and assign each one the same logon info and then reassign the report and refresh the report viewer. No need to use a .Net Dataset here. Eventhough I got the answer myself from studying the Crystal API reference thanks to all that answered! Hopefully this will help others. Mike in Los Angeles, Calif, USA.
    Imports CrystalDecisions.CrystalReports.Engine
    Public Class CrystalReportForm2
        Private Sub CrystalReportForm1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim MyReport As New Clients 'Instance of report!!!
            Dim myLogonInfo As New CrystalDecisions.Shared.TableLogOnInfo
            Dim myTable As Table
            For Each myTable In MyReport.Database.Tables
                myLogonInfo = myTable.LogOnInfo
                myLogonInfo.ConnectionInfo.ServerName = " DATASERVER2"
                myLogonInfo.ConnectionInfo.DatabaseName = "CMSDATASQL"
                myLogonInfo.ConnectionInfo.UserID = "SQL_USER"
                myLogonInfo.ConnectionInfo.Password = "34567WERTD"
                myTable.ApplyLogOnInfo(myLogonInfo)
            Next myTable
            CrystalReportViewer1.ReportSource = MyReport
            CrystalReportViewer1.SelectionFormula = "{openclientsquery.lastname} like  'c*'"
            CrystalReportViewer1.Refresh()
        End Sub
    End Class
    PS - Hopefully, in the future Microsoft will improve(and document) its own report control and designer. Right now it's still crude and needs a lot more development to approach the usefulness that the Access Report Designer has. It's rediculous to depend on a third party reporting control(all business programs require reporting) when Visual Studio should have had/built one included from day one.

  • Load Multiple Images using link in Crystal Report

    Hi Guys,
    I am currently in need of developing a new requirement for our company's client. We have to load multiple images using just link in Crystal Report. Let's say that the images are stored in a folder (e.g., C:\Datafolder\Images\) and i have to fetch two images to show in crystal report (say, C:\Datafolder\Images\imageval1 and C:\Datafolder\Images\imageval2). These are actually dynamically created and therefore the number of images are not known and so i have to iterate through the list of image links.
    Is it possible using merely crystal report and how?. Please take note that we're also using C# in developing our software applications.
    Thanks and best regards.
    ---CHITO--

    Hi Chito,
    You cannot load multiple images dynamically. Using the 'graphic location' formula for the OLE Object, you can only point to a location that can load one image.
    For the second image, you'll need to manually insert another OLE Object and point the formula to the next image's location.
    You can try posting to the SAP Crystal Reports, version for Visual Studio space to find out whether this can be done using CR SDK.
    -Abhilash

  • Trying to change the data source for a Crystal Report.

    <p>The method below represents my best attempt to programatically change the data source of a Crystal Report. The goal is to have a routine that will update the data source for reports after they have been distributed to production servers. So far I have not been successful in saving the report back to the CMS. No exceptions are thrown, but when I view the Database Configuration of the report in the CMC nothing has changed.
    </p>
    <p>
    Am I missing a step, or is there another way to accomplish this?
    </p>
    <p>
    Thank you.
    </p>
    <hr />
    <pre>
    private void test(String reportName)
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects;
       IInfoObject reportObj;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dc;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB; //0;
       Fields connFields = null;
       String queryStr = "Select * From CI_INFOOBJECTS " +
          "Where SI_NAME='wfr.rpt' AND SI_KIND='CrystalReport' AND SI_INSTANCE=0";
       newInfoObjects = getCms().executeQuery(queryStr);
       if(newInfoObjects.size() > 0)
          reportObj = (IInfoObject)newInfoObjects.get(0);
          try
             clientDoc = getCms().getReportAppFactory().openDocument(
                reportObj
                , OpenReportOptions._refreshRepositoryObjects
                , java.util.Locale.US);
             dc = clientDoc.getDatabaseController();
             conInfos = dc.getConnectionInfos(null);
             for(int i = 0; i < conInfos.size(); ++i)
                oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(i);
                newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                pBag = newConInfo.getAttributes();
                pBag.putStringValue("QE_ServerDescription", "alio");
                logonProps = new PropertyBag();
                logonProps.putStringValue("Trusted_Connection", "false");
                logonProps.putStringValue("Server", "alio");
                pBag.put("QE_LogonProperties", logonProps);
                newConInfo.setUserName("admin");
                newConInfo.setPassword("password");
                dc.replaceConnection(
                   oldConInfo
                   , newConInfo
                   , connFields
                   , connOptions);
          catch(ReportSDKServerException Ex)
             String msg = "A server error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          catch(Exception Ex)
             String msg = "An error occured while processing the " + reportObj.getKind()
                + " object, " + reportObj.getTitle() + " (" + reportObj.getCUID() + "), from the CMS.";
             Utility.errorOut(msg, Ex);
          finally
             clientDoc.save();
             getCms().commitToInfoStore(newInfoObjects);
             clientDoc.close();
    </pre>
    Edited by: Mark Young on Sep 10, 2009 2:16 PM

    <style type="text/css">
    /<![CDATA[/
        body
            font-size: 1.125em;
              font-family: helvetica,arial,"sans-serif";
          .code{font-family: "courier new",courier,mono,monospace}
          .bi{font-style: italic; font-weight: bold;}
    /]]>/
    </style>
    <p>Justin,</p>
    <p>
    Thank you for the reply. Time constraints have not allowed me to post back to this tread
    till now. I will try your suggestion. My assumption is that <i>Save the report back to the
    info store</i> refers to <span class="code">IInfoStore.commit(IInfoObjects)</span>.
    </p>
    <p>
    I'm afraid that I do not understand why I don't want to change the report client document,
    or why <i>successfully exporting the report with the new login/password</i> is not what I
    want to do. Any explanation on that statement would be appreciated.
    </p>
    <p>
    I did find a way to accomplish my goal. It involved adding the SSOKEY property to the
    logon property bag. Below you'll see my revised code which modifies the report logon and
    server. I have no idea what
    this does, and SAP support has not been able to tell me why it works. However, what I
    discovered is that if I changed the report option, <b>Database Configuration -> When
    viewing report:</b>, in the CMS to <span class="bi">Use same database logon as when report
    is run</span> from <span class="bi">Prompt the user for database logon</span>, then the
    SSOKEY property had been added to the logon property bag having an empty string as its
    value. This allowed me to successfullyupdate and save the modified logon back to the CMS.
    </p>
    <p>
    So I took a chance and added code to always add the SSOKEY property with an empty string
    as its value, and I could then successfully modify and save the report's logon info
    and server. Again, I don't know what this means, but it has worked so far. If anyone has
    some insight or comments, either are welcome. Thank you in advance.
    </p>
    <br />
    <hr />
    <pre>
    private void changeDataSourceOfAWFCrystalReports()
       throws SDKException, ReportSDKException, java.io.IOException
       IInfoObjects newInfoObjects = null;
       IInfoObject reportObj = null;
       IReport curReport = null;
       ReportClientDocument clientDoc = new ReportClientDocument();
       DatabaseController dbController;
       PropertyBag pBag;
       PropertyBag logonProps;
       ConnectionInfo newConInfo;
       ConnectionInfo oldConInfo;
       ConnectionInfos conInfos;
       int connOptions = DBOptions._ignoreCurrentTableQualifiers + DBOptions._doNotVerifyDB;
       Fields connFields = null;
       String outputStr;
       int numOfReports;
       int numOfQueryPages;
       double progressIncrementPerPage = 30;
       int progressIncrementPerReport = 0;
       // Path query to reports is in a .properties file.
       String queryStr = getAppSettingsFile().getWscAwfCrystalReportPathQuery();
       try
          // Executes IInfoStore.getPageingQuery() and generates a list of queries.
          getCms().setPathQueryQueries(queryStr, 100);
          numOfQueryPages = 0;
          // Gets a List&lt;String&gt; of the IPageResult returned from IInfoStore.getPageingQuery().
          if(getCms().getPathQueryQueries() != null)
             numOfQueryPages = getCms().getPathQueryQueries().size();
          if(numOfQueryPages &gt; 0)
             // Use 30% of progress bar for the following loop.
             progressIncrementPerPage = Math.floor(30.0/(double)numOfQueryPages);
          for(int queryPageIndex = 0; queryPageIndex &lt; numOfQueryPages; ++queryPageIndex)
             // Gets the IInfoObjects returned from the current page query
             newInfoObjects = getCms().getPathQueryResultSetPage(queryPageIndex);
             numOfReports = newInfoObjects.size();
             if(newInfoObjects != null && numOfReports &gt; 0)
                progressIncrementPerReport =
                   Math.round((float)Math.floor(progressIncrementPerPage/(double)numOfReports));
                for(int reportIndex = 0; reportIndex &lt; numOfReports; ++reportIndex)
                   reportObj = (IInfoObject)newInfoObjects.get(reportIndex);
                   curReport = (IReport)reportObj;
                   clientDoc = getCms().getReportAppFactory().openDocument(
                      reportObj
                      , OpenReportOptions._refreshRepositoryObjects
                      , java.util.Locale.US);
                   dbController = clientDoc.getDatabaseController();
                   conInfos = dbController.getConnectionInfos(null);
                   for(int conInfosIndex = 0; conInfosIndex &lt; conInfos.size(); ++conInfosIndex)
                      oldConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                      newConInfo = (ConnectionInfo)oldConInfo.clone(true);
                      pBag = newConInfo.getAttributes();
                      pBag.putStringValue(
                         "QE_ServerDescription"
                         ,getConfigFile().getDBDataSourceConnections());
                      logonProps = new PropertyBag();
                      logonProps.putStringValue("Trusted_Connection", "false");
                      <b>logonProps.putStringValue("SSOKEY", "");</b>
                      logonProps.putStringValue(
                         "Server"
                         ,getConfigFile().getDBDataSourceConnections());
                      pBag.put("QE_LogonProperties", logonProps);
                      newConInfo.setUserName(getConfigFile().getUNVConnectionUserName());
                      newConInfo.setPassword(getConfigFile().getUNVConnectionPasswordDecrypted());
                      dbController.replaceConnection(
                         oldConInfo
                         , newConInfo
                         , connFields
                         , connOptions);
                      newConInfo = (ConnectionInfo)conInfos.getConnectionInfo(conInfosIndex);
                   } // end for on conInfosIndex
                   clientDoc.save();
                } // end for on reportIndex
             } // end if on newInfoObjects
          } // end for on queryPageIndex
       } // end try
       catch(ReportSDKServerException Ex)
          // handle...
       catch(Exception Ex)
          // handle...
       finally
          getCms().commitToInfoStore(newInfoObjects);
          if(clientDoc != null)
             clientDoc.close();
    </pre>

  • Inserting Dynamic Images in to a Crystal Report 10

    Hi all,
    I am trying to insert dynamic pictures into my report from repository, by getting the path for the picture from database fields. The version that I am using is Crystal Reports 10.
    Here is what I have done.
    I inserted an OLE object into the report, went to "Format Graphics" by right clicking on the OLE object, then to "Hyperlink" Tab (as I didn't see anything other than "Reset" button and picture dimension options under the "Picture" tab), and selected "File" Radio button (as I didn't want to display the picture as Hyperlink) and gave the @Filepath as the formula there. @Filepath is the formula that gives me the complete path for the JPEG that I need to insert in the report.
    filepath = field A + field B
    where field A is the location for the image and field B is the actual image name.
    the actual image is located in repository folder.
    I am not able to see the image in the report "Preview" section as it is showing it has an empty box and when I click on that empty OLE object, I am able to view the image in a separate window where as my requirement is to view the image within the report (not in a separate window).
    I didn't find anything useful under Format Graphics -> Picture tab.
    I appreciate any kind of help from you all.
    Thanks!

    That feature wasn't available nor was it supported in CR 10. You'll have to upgrade to CR Xi R2 or 2008 to allow using a database field as the location of the file.
    CR 10 would only load the picture when the report is opened, it will never update when clicking on the refresh button.

  • Method to dynamically change an image in scriptUI

    I'm trying to run before I can walk, but:
    Is there any way to respond to a click on an image in a dialog created with scriptUI?
    I want to modify which image is shown during the user's interaction with the dialog. I think that the "stack" method will create a stack of more than 32 layers, so it would be tidier to be able to just modify an instance of the image each time.
    I may also want to dynamically add more images during dialog, and therefore need to be able to resize the panel in the dialog window.
    var myIcons = new Array();
    myIcons[0] = "/path...to/image1.png";
    myIcons[1] = "/path...to/image2.png";
    var myPanel;
    myPanel = myCreatePanel();
    myPanel.show();
    myIncrement=1;
    for(var myCounter = 0; myCounter < 11; myCounter ++){
    $.sleep (100);
    myPanel.hide();
    exit();
    function myCreatePanel(){
    myPanel = new Window('palette', 'test bed');
      with(myPanel){
       myPanel.myButton = add('image', undefined, myIcons[0]);
       myPanel.myButton.addEventListener('click', updateIcon);
      return myPanel;
    function updateIcon() {
    iconShow +=1; if (iconShow = 2){iconShow = 0};
    myPanel.myButton.image = myIcons[iconShow];
    Any hints and help much appreciated...
    Thanks,
    Jezz

    I'm hacking out some code, and making some degree of progress... I'll post the results once it's tidy!
    --Jezz

  • Dynamically change stage size on runtime

    Hi everyone,
    I need to change the stage size dynamically.
    When i try to do this............
    size_mc.onRelease = function(){
        trace(Stage.height);
        Stage.height += 100;
        trace(Stage.height);
    it comes always the current stage size.
    Thanks in advance

    You cannot change the width and height properties of the Stage using code--it must be done in the editor.  The width and height values can represent different things depending on the value you set for the scale mode, but you cannot reassign them to different values dynamically.
    The solution just offered to you is under the same rules, the stageWidth and stageHeight values cannot be assigned using code, but that code is AS3 code so it will not fit in your AS2 design in any case.
    The same goes for the followup offered in AS2.  You will notice the stage size is not being changed... it cannot be.  This is just a full screen design solution, but is not a soltuion to changing the stage size.  The stage size can only be changed manually in the authoring environment.  I don't know that the offering is answering what you are really trying to do, but it is not answering the titled task of dynamically changing the stage size

  • Dynamic Parameter only showing 1000 records when Crystal report is run.

    I have created a crystal report using ODBC access to a table that has 3000 records.  I created a dynamic parameter to pull a list of all the Customer ID's in a customer table and the parameter will only show the 1st 1000 records.  In addition I cannot type in the customer ID that I would like.  Version of Crystal - Crystal 11.

    Oh, darn. So sorry. Looks like I hyperlinked the wrong URL (You'd think I got that down by now...). Anyhow here is the correct link:
    1218588 - How to increase the number of values in a dynamic parameter list in Crystal Reports?
    And in case the link does not work, or I goofed again, here is a copy of the resolution:
    Resolution
    CAUTION
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe). It is strongly recommended that you make a backup copy of the registry files before you edit the registry.
    To increase the maximum number of values available in a dynamic parameter list of values, set the registry key: MaxRowsetRecords, to a value greater than 1,000.
    Open the Microsoft Registry Editor, and navigate to the path corresponding to the version of Crystal Reports used:
    Crystal Reports XI:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports XI R2:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2008:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2011:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports 2013:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions\LOV
    Crystal Reports for Visual Studio 2010:
    -  HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV
    NOTES:
    -  Add the key: LOV, if it is not present.
    -  For 64 bit version of Microsoft Windows, the registry path will be slightly different, it will start with:
          HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\...
       But the rest of the registry path is the same.
    Add the String value: MaxRowsetRecords
    Set the value of: MaxRowsetRecords to the maximum number of values to display in the List of Values.
    For example, a value of 2000 will return up to 2000 values in the lowest level of a dynamic cascading parameter.
    IMPRTANT NOTES:
    - The higher the number of values is, the longer it will take the see the dynamic parameter prompt screen. In brief, it impact the performance.
    - The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    After making changes to the registry, close and reopen Crystal Reports, or restart the Crystal Reports services for the BusinessObjects platforms.
    - Ludek

  • Error:When adding RDC runtime library (Crystal report XI R2) to Lotus notes

    Background : We have reporting feature implemented in one of lotus notes application using crystal reports 6 (OCX) and as Crystal report is going to be upgraded to CR XI version in my organisation, we need to implement the same using RDC component available in crystal XI . we have installed Crytal report XI R2 - SP 6 version for testing the integration.
    we are  referring a document available on SAP web site(attached below) that illustrates the steps required to integrate the Crystal Reports®  Report Designer Component into a Lotus® Dominou2122 application.  http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/509b02de-a81e-2b10-f598-822b6d6f2024?quicklink=index&overridelayout=true
    Steps which have been outlined for adding runtime library in lotus domino application is shown below:-
    1. In Domino Designer, add a Form to the application.
    2. In the programmeru2019s pane, go to the (Declarations) handler of the Form and enter:
       Dim App As Variant,    Dim Rep As Variant
    3. Select Create | Object and select the u201CControlu201D radio button in the u201CCreate Objectu201D dialog box that comes up. From the list of controls, select u201CCrystal Report Viewer Control.u201D This adds the control to the Form.
    4. Click on the control and select Edit | Properties. In the u201CAppletu201D properties dialog, select the u201CSize object to fit windowu201D radio button and then close the properties dialog.
    We are getting an error message while trying to add 'Crystal Report Viewer Control' control (illustated in Step 3 above) in the lotus notes form . Error message which we get is 'An error has occured while processing a request on an object'.
    Alternatively , we created the object of Crystal Report Viewer on lotus notes form by adding viewer object file (Crviewer.dll) from the file system  after selecting the u201CObject from a fileu201D radio button in the u201CCreate Objectu201D dialog box and added following code in the postopen event of lotus notes form .
    Set m_Viewer = Source.GetObject("Crystal Report Viewer Control")
    Set App = CreateObject("CrystalRuntime.Application")
    Set Rep = App.OpenReport(u201Cc:lotus
    otes
    ep.rptu201D)
    Set m_Viewer.ReportSource = Rep
    Again, when lotus notes form is opened , it gives error 'Variant does not contain object' at 'Set m_Viewer.ReportSource = Rep' .
    Can any one suggest us any workaround or if iit is not possible in CR XI R2 into a Lotus® Dominou2122 application. Also, can any one provide us sample code if CR 2008 version can be integatred with lotus notes.

    I believe, Lotus was never a "supported" development platform, though it did work - at one time or another. Eventually it did not and you are at that point. I think it was CR 10 where it started to be impossible to add the viewer to Lotus. This was never fixed and we never did find out if this was a Lotus thing or a CR thing.
    Re. CR 2008 and Lotus. The RDC has been retired in CR 2008, so no luck there either for you. The only SDKs available in CR 2008 are for .NET and Java.
    Ludek

  • How to change default Export Format Type in Crystal Report Viewer

    We are coding in VB.NET 2005 using the CR2008 SP1 .NET objects.
    The Crystal Report Viewer, when displayed, defaults the export type as .rpt (Crystal Reports).
    We distribute our .NET application to our customers.  99% of the time, this .rpt format is useless to our customers as they do not have crystal reports developer.  They usually export to a .pdf or .xls format.  Is there a way to default this export option to something other than .rpt?
    Thank you.

    Yes, that's as much as I figured.
    With the Crystal for .NET methods, the CrystalDecisions.CrystalReports.Engine's reportdocument object has an ExportToDisk method.  We wanted to use this (as we used something similar with the RDC) to prompt the user to export.  However, the reportdocument's exporttodisk method does not have an argument that allows for Prompting the user (true/false) like the RDC's export did.  You have to actually know ahead of time the type of export the user wants as well as the filename.  Well, we do not, and therefore, want the user to be able to select the type of export they want as well as enter their own filename.  We want the Crystal methods to prompt for this.  Since we are unable to, we've had to resort to declaring a reportviewer object and setting the viewer's reportsource = to the reportdocument.  We then use the ExportReport() method which defaults to .rpt (which none of our end users have Crystal Developer).  This is why we want to know if there is a way to reset the default export method to something more common (such as .pdf or .xls).  Is there a way to change the reportdocument's file type in order to default the export type?  Just trying to come up with some sort of workaround...
    Thanks

  • Image toolbar appears over Crystal reports chart in Infoview

    I am publishing Crystal reports developed across a Universe in my BusinessObjects Enterprise XI Release 2 InfoView. I have done few line charts in the Crystal reports. I am running on Internet Explorer 7 but my clients are running on Internet Exploreer 6.0. When my clients view Crystal reports (in Infoview) on their browser, the charts are identified as images in their infoview by Internet Explorer 6 browser and it keeps showing the Image toolbar ( the small toolbar which popups over the images in IE 6 prompting you to Save this image/Open this image/Save In My Pictures toolbar etc..)
    Please try this link http://www.microsoft.com/windows/ie/ie6/using/howto/customizing/phototoolbar.mspx to know what an image toolbar is.
    This little feature got included in Intenet Explorer 6 by which any image identified by the web browser will automatically popup this Image toolbar. It won't happen in Internet Explorer 7.0.
    If i am developing a website and do not want this image toolbar appearing over my images in my site I can code accordingly. But i am clueless about the Crystal Reports/Business Objects Infoview environment and how to get rid of this toolbar.
    The one option i got is to ask my users who use IE 6.0 to go to Tools->Internet Options->Advanced tab->Multimedia ->uncheck the checkbox Enable image toolbar. Unfortunately my users login under citrix environment and their default browser settings will be restored every day morning they login.
    Any ideas?

    Hi Michael,
    Unfortunately BusinessObjects does not control these settings when accessing the InfoView.  It sounds like it'll need to be addressed by the system administrator to disable that option in IE through user profiles/applications.
    Regards,
    Wallie

  • Getting Image from database in crystal report

    Hi Experts,
                         I have a user UDF which has Image datatype. I store all the image in C:\Program Files\SAP\SAP Business One\Bitmaps\   folder.Now i have to show this image in my crystal report. When i tried to pick this image from database it gives me only the name of image with extension like abc.jpg . How could i achive this in crystal report.
    Thanks and Regards

    Hi Om
    As you have the location of the image, you can insert it as an OLE object onto the report.
    Click on Insert -> OLE Object -> specify the path of the image.
    For more information, please refer to Crystal Reports help.
    Regards
    Sourashree

  • Change the field object location in crystal report

    hello,
    i want to change the contols location in crystal report and the controls alignment in run time to make mirror ,how can i access this controls and this properties. we use two language English and arabic that have different alignment.
    thanks and best regards,
    Mahmoud awad

    <p>The best place to start would be on the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm" target="_blank">DevLibrary</a> you can find the reference guide for the APIs for the CR .NET SDK. Generally speaking, you can access the particular field object using the corresponding class and modify it&#39;s left/right/top/etc properties to change placement.  For example, if you want to modify properties for a text object on a report, use the TextObject class and the members exposed by that class.</p><p>Depending on what properties you want to modify, you&#39;ll need to look at other classes such as the FieldFormat class or ObjectFormat class to access other properties.  So I recommend using the reference guide to help you find what you are trying to do.</p><p>-MJ</p>

  • Code changes for BOE XI R2 from Crystal Reports XI Server R2

    I'm using a Crystal Reports Server XI R2 server currently for hosting my development reports. But my production server is going to be Business Objects Enterprise Professional XI R2.
    What will be changes that I need to ponder?

    You will need to upgrade XIR2 to XI 3.1 if you intend to import reports from CRS 2008. As the message states reports cannot be imported from new to older versions only the other way is supported from older to new, or from the same version to the same version.
    Regards,
    Tim

Maybe you are looking for