Use same report with same database structure to different database server.

Hi,
I have standard crystal reports which needs to be copied to another database server.
The origin database has exactly same database structure with the data base in other server.
My only question is how to change the connection of the crystal report file from old database server to new one without affecting the linked tables in the report. Would it be possible?
Note: origin database and new database has same structure, tables and columns but differ in data on it. and both has different server. (MS SQL)
Thanks,

Hi Mark,
Open the report in the CR Designer > select Database option on the top > select Set Datasource location.
The pane on the top shows the current connection. Go ahead and create a new connection to the target database from the pane at the bottom. Once created, highlight one table from the top, highlight the corresponding table from the bottom pane and click Update. Do this for each table.
-Abhilash

Similar Messages

  • How to use %Type declaration with table residing in a different database

    How can I use the %TYPE declaration if the table is from a different database.
    E.g
    v_business_unit ps_jrnl.header.business_unit%TYPE;
    In the above declaration statement,the table 'ps_jrnl_header' resides in a different database(Database A) from the one I am currently in( Database B).(This is because data needs to be extracted from Database A into Database B).

    1. Create a database link to the other database (this probably already exists since your proc is interacting with that database)
    2. Create a synonym for the table in the other database
    create synonym foo for ps_jrnl.header@database_a;3. Reference the synonym in your variable declaration:
    v_business_unit  foo.business_unit%TYPE;

  • Use same report with different MySQL database

    I am using CR2008 with MySQL 5.1.
    I have a report that works with one of the tables (T1) in a MySQL database (DB1).  I have another MySQL database (DB2) with the same table name and structure, except that the data has been updated.
    I want to use the same report, but just ask CR2008 to now use DB2 and T1.
    Try as I may (using Set Data Source Location...), but I'm not getting anything to work.
    I looked for a previous thread on this, but was unsuccessful. 
    Thanks for any help.
    David

    Thank you for your helpful response.  What I am really asking is this -- when there is a CR2008 report based on db1, table1, and you want to use the SAME report with an identical table in a DIFFERENT database (db2, table1), can I easily use the same report?  Or, do I have to generate another version of the report?
    Thank you again.
    David

  • Print same report  with different watermark

    i want to print the one report with different watermark
    means suppose we generate the report and print the 10 copy of the same report but want 4 copy with one watermark and 6 with different watermark.
    i have the number of watermark copy in the table .
    pls give me the solution
    regards
    anurag

    Thank you for your helpful response.  What I am really asking is this -- when there is a CR2008 report based on db1, table1, and you want to use the SAME report with an identical table in a DIFFERENT database (db2, table1), can I easily use the same report?  Or, do I have to generate another version of the report?
    Thank you again.
    David

  • BI: Virtual Provider for ECC Report with same selection parameters

    Dear all,
    I have attached screen shot of ECC report selection screen with contain Material, Plant and Dates. As report is bit complex and I need to use just ITAB (internal table) of it for further use in BEx Query and for Dashboard purposes.
    Problem: I need to call this report by creating Virtual Provider in BI so that I get data from ECC at runtime as it is shares report so I can't able to save any data in transparent table as report calculated opening balances at runtime.
    It is possible for me by using function module i can get itab by submit return and then create Data Source for it ?
    As i make copy of FM ZZRSAX_BIW_GET_SIMPLE i cannot use submit there due to OPEN CURSOR mechanism there.
    Kindly anyone suggest how it is possible to call report with same selection parameters for creation of virtual provider.
    Please mention if i miss any point in explaining problem.
    Feel free to ask for any query.
    Many thanks.
    Hoping for positive and quick responses.

    please create 2 reports as given below.-
    REPORT  ZSZP_00007.
    parameters a(5) .
    parameters b(5) .
    parameters c(5) .
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF screen-name = 'A' or screen-name = 'B' .
      get parameter id 'aaaaaaaaaaa' field a.
      get parameter id 'bbbbbbbbbbb' field B.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    start-of-selection.
    your logic
    REPORT  zszp_00005.
    PARAMETERS a(5).
    PARAMETERS b(5).
    START-OF-SELECTION.
      SET PARAMETER ID 'aaaaaaaaaaa' FIELD a.
      SET PARAMETER ID 'bbbbbbbbbbb' FIELD b.
    your logic
    SUBMIT zszp_00007 VIA SELECTION-SCREEN.
    i hope this approach will solve your problem.
    thanks
    Swanand

  • We get many report with same computer in the SCEP alerts.

    Hi,
    We get many report with same computer in the SCEP alerts.
    I have an email sent to support desk for "Malware detection", but same computer ends upp severaltimes long time after it have been cleand with success. I dont have "repeated malware detection" alerts enable.
    So why same alerts reported several times even if it have been removed?
    /SaiTech

    Hi,
    Please refer to the link below:
    How to Configure Alerts for Endpoint Protection in Configuration Manager
    http://technet.microsoft.com/en-us/library/hh508782.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to register the same schema with same URL

    I'm getting ORA-31085 error when try to register the same schema with same URl.
    My requirement is that I should be able to reregister the same schema with the same URL .
    I'm using the following function :
    PROCEDURE validateXmlSchema(inp_xmlMsg IN VARCHAR2,
    out_isValidDoc IN OUT NUMBER,
    inp_xmlSchema IN OUT VARCHAR2,
    out_varchar_notused OUT VARCHAR2)IS
    xmldoc XMLType;
    res number;
    BEGIN
    xmldoc := XMLtype(inp_xmlMsg);
    res := xmldoc.isSchemaValid(inp_xmlSchema);
    IF (xmldoc.isSchemaValid = 1) THEN
    out_isValidDoc := 1;
    ELSE
    out_isValidDoc := 0;
    END IF;
    END validateXmlSchema;
    This is used recursively.Until the schema is not validated for a given URL this function should keep on throwing error and once the schema is validated the data should be inserted in the DB.
    But its not happening as of now instead the ORA-31085 is thrown second time.
    Plz provide pointers to solve the issue.

    "mjs" <[email protected]> wrote in message
    news:g7kjk5$o6$[email protected]..
    > "mjs" <[email protected]> wrote in message
    > news:g7gl2g$i3d$[email protected]..
    >> "Zorrrro" <[email protected]> wrote
    in message
    >> news:g7gcjv$a6n$[email protected]..
    >>> I'm completely nuckered trying to find an answer
    for this...
    >>>
    >>> Does anyone know how to keep the same width an
    position of the submenus
    >>> of a
    >>> horizontal dropdown menu?
    >>> Thank you in advance.
    >>>
    >>> Cheers.
    >>
    >> Doesn't a simple style="width:200px" in the input
    tag work?
    >
    > I'll asume the answer is "yes", then. ;) You're welcome.
    I believe the OP is talking about a dropdown menu like this
    one
    http://www.tjkdesign.com/articles/keyboard_friendly_dropdown_menu/default.asp
    not about a "select menu".
    I could be wrong though...
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    http://developer.yahoo.com/
    helps you build applications and mashups

  • How to use crystal report with php

    Hello every body
    can any body know how to use crystal report with php any helping material, code or tutorial for my problem ill be very thankful for helping me
    farooq

    Hello sir
    i am sudeep and i need to deploy crstal reports in php
    i want to integrate it in sugar crm (open source project(
    can u plz tell me how to do it
    i have written this code
    <?php
    //echo phpinfo();exit;
    $ObjectFactory= New COM("CrystalReports11.ObjectFactory.1");
    $crapp = $ObjectFactory->CreateObject("CrystalDesignRunTime.Application");
    //$crapp = new COM("CrystalRuntime.Application.10");
    $reportToRun="C:\Report4.rpt";
    $creport = $crapp->OpenReport($reportToRun, 1);
    //reportToRun=full path to *.rpt file
    $creport->Database->Tables->
    Item(1)->ConnectionProperties['User ID'] = $user;
    $creport->Database->Tables->
    Item(1)->ConnectionProperties['Password'] = $pass;
    //fomatType = integer 22=xls, 31=pdf etc
    $creport->ExportOptions->FormatType = $formatType;
    //type 1 is to output to a file I think 2 is email
    $creport->ExportOptions->DestinationType = 1;
    //location = full path to report output file
    $creport->ExportOptions->DiskFileName = $location;
    $creport->DiscardSavedData();
    $creport->Export(False);
    ?>
    thanks in advance

  • Using jasper Reports with Tomcat5.5

    hi ,
    i am trying to use Jasper Reports with Tomcat 5.5 but not able to do it.
    i have written a simple java program to read data from MySql database and generate a report in PDF format. the good thing is that when i am doing this as a independent java program and running it in Eclipse3.2 then its working fine. but i am not able to run it as a sevlet thru Tomcat5.5.
    any help ? is there any issue with version ...
    i am using JDK 1.5 , Tomcat5.5
    regs,
    sajid

    i am not able to figure it out. usually all web app picks files in WEB-INF folder . see below the exception ....
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    java.lang.VerifyError: (class: net/sf/jasperreports/engine/xml/JRXmlDigesterFactory, method: configureDigester signature: (Lorg/apache/commons/digester/Digester;)V) Incompatible argument to function
         net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
         net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:195)
         com.iflex.poc.reports.ReportManager.generateReport(ReportManager.java:25)
         com.iflex.poc.reports.ReportServlet.doGet(ReportServlet.java:15)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.16 logs.

  • Can You Transfer iTunes from One Log-in to another Log-in on the SAME computer with SAME account?

    How do You Transfer iTunes from One Log-in to another Log-in on the SAME computer with SAME account?

    Move the files to the /Users/Shared/ folder and then to the other account's home folder.
    (85927)

  • How to use didcoverer reports with EBS 11i

    hi all
    how can we use dicoverer reports with 11i
    how to register them,run them from 11i.
    and where are these reports stored.like if i created a open periods report that shows all the open periods in AR,AP modules,where do i need to place these reports to run from applications 11i.
    i never used discoverer,i am just asking these questions assuming discoverer reports work similar to that of reports 6i
    thanks in advance

    Discoverer can be called from Oracle Apps or more usually from it's own XML version (Plus) or from it's own HTML version (Viewer).
    Discoverer reports (workbooks) are created with a client / server version (desktop) or the XML version (Plus).
    Once a workbook has been written it is possible to call it directly from Apps, but again, it's more usual to firing up Discoverer directly and going from there.
    Russ

  • Use Oracle Reports with Jdeveloper 11

    Hi,
    My next question. How to use Oracle Reports with jdeveloper 11. I have more oracle reports (used with a existing forms application) and i need to migrate this application to web-adf application. I think that is very powerful to use this oracle definition reports but i not know ho to do it.
    thanks,
    Jordi

    Read the publishing reports manual of Oracle reports to see how to Web enabled your Oracle reports. You can then invoke them from an ADF application either by calling a URL or using a Web service interface.

  • One Report needs to connect to 20 different databases

    Post Author: macgary
    CA Forum: Data Connectivity and SQL
    We have 20 identical databases - structurally - but differing in their regional data.
    We have created some various reports that need to run against various databases in SQL Server.   I would like to avoid having to create 20 variations of each report varying only in their database connections.
    Does anyone have an idea of how I can pass the database name into the connection so I can make the one report work on any of my structurally similar databases?
    Thanks,
    Gary

    Post Author: Hieu
    CA Forum: Data Connectivity and SQL
    Select "Set Datasource Location" under the Database menu.

  • Restoring a database from a different database

    I want to restore database new2db from newdb. both dbs are on different sql server instances.
    I have backup of newdb called newdb_july.bkup.
    I ran the below command :
    restore database new2db from disk = 'c:\mssql\backup\newdb_july.bkup' with file=1,
    move 'newdb' to 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\new2db.mdf',
    move 'newdb_log' to 'C:\Program Files\Microsoft SQLServer\MSSQL10.MSSQLSERVER\MSSQL\DATA\new2db_log.ldf', 
    replace,norecovery,stats=10
    the restore completed successfully but the database is still in 'Restoring' status.
    how do I get the database in active accessible status?
    appreciate the feedback.

    Yes norecovery if you want to restore more tlog or diff backup files... If you use recovery then you cant further restore any more tlog or diff backup's..
    WITH RECOVERY includes both the redo and undo phases and recovers the database; additional backups cannot be restored. This is the default.
    If the roll forward set has not been rolled forward far enough to be consistent with the database, the undo phase cannot occur. The Database Engine issues an error and recovery stops.
    If the whole roll forward set is consistent with the database, recovery is performed, and the database can be brought online.
    WITH NORECOVERY omits the undo phase to preserve uncommitted transactions. Omitting the undo phase allows for restoring other backups to roll the database further forward in time. Occasionally, RESTORE WITH NORECOVERY rolls forward data
    to where it is consistent with the database. In these cases, the Database Engine issues an informational message stating that the roll forward set can now be recovered by using the RECOVERY option.
    With the REPLACE option, restore allows you to overwrite an existing database with whatever database is in the backup set, even if the specified database name differs from the database name recorded in the backup set. This can result in
    accidentally overwriting a database by a different database.
    Raju Rasagounder Sr MSSQL DBA

  • How to create same database structure in Oracle database as in SQLserver?

    Hi experts,
    I have created application in Oracle ADF which used SQL Server as a backend. In SQL server I have six databases. I am using that all six databases.
    I connected the same application with Oracle 11g. In oracle I created only one schema and created all the tables in that schema.
    There are around 2000 tables. I want to know is it better way to keep all the tables in one schema or should I create six different schema as sql server.
    Also please tell me if there is any other solution for situation like this.
    Thanks.

    Digambar, Ithink the answer might depend on how and why the tables were separated in SQL Server. Did you have six separate schemas or just have the tables spread out over six SQL Server databbase with DBO as the owner in all six? Does each SQL Server database represent a different group of objects that make up a different module/feature set of the application?
    If each SQL Server database represents a different portion/module of the application then the ability to identify the tables/objects in that module without having to refer to documentation might be useful so assigning the objects to different owners may be helpful. That is if the object naming standard in use does not provide an easy way to identify the portion of the application the objects belong to.
    HTH -- Mark D Powell --

Maybe you are looking for