Using Datasource location

Hello,
I am trying to change the tables used in a specific report.  Table "Customers" is currently being used in the report.  I have made a copy of this table in my MS SQL DB and called it "Customers_2011".  Using 'Set Datasource Location" I am trying to replace "Customers" with "Customers_2011", but nothing seems to happen when I press 'Update'
Do the tables have to have the exact same name?
Am I doing something wrong? or is there another way I should be doing this?
Any help is appreciated.
Thanks
Joe

Hi Joe,
If the datasource has been updated, then the best place to look for the change is to look under 'Properties' of the connection. When you open the 'Set datasource Location' window it shows the connection name and under that it shows 'Properties' and then the table names.
The table names also have their 'Properties' and when you click to open the tree, it should have the 'Table Name'. This property shows the original table name.
In your case if it shows 'Customers_2011' under the properties and 'Customers' as the Tree heading, then you can change that from the 'Database Expert'. You should be able to rename the table by right-clicking it in the Database Expert.
Hope this helps!
-Abhilash

Similar Messages

  • VS2010 Crystal Report Crashes System when using 'Set DataSource Location..'

    Runtime ASP.NET 3.5
    VS 2010
    Under Database Fields (rt click) try Set DataSource Location... causes VS2010 to crash.
    This is on an imported report from VS2008.  VS2008 has no problem with the report.
    Since this is a ASP.NET 3.5 program the internal property field
    <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture>
    has been set in the project in order to allow the code to compile w/out errors.
    What is solution for Crystal Report Set DataSource Location?

    Hi Ken,
    Here's one link on the issue: CRVS2010 RTM: Database Expert / External Component has thrown an exception
    The reason is Old OS's used c:\temp as the default, now you are require to use %user%\temp as your temp folder as well as using the AppData folder for your app. If CR finds c:\temp it uses it and depending on what is in there it can cause Cr to crash, XML files have been know to do this.
    Following MS's new rules on users temp folder should make your app Windows Compliant.
    Thanks again
    Don

  • Error in setting datasource location from oracle to sql server

    Post Author: jonathanaramburo
    CA Forum: Data Integration
    Hello,
    I have an application that uses a table named "events" which conflicts the sys.events view in master database in sql server. The error i was encountering is that, whenever i tried to set the datasource location of my crystal report from its previous connection oracle to sql server, i get an error saying that some of the fields has not been updated because theres no matching fields to the current connection. It seems that crystal is pointing on sys.events view on master db and not on the events table in myDb database. How can I tell crystal reports to not pick up sys.events and get only myDB.events table.
    Thank you in advance,
    Thanks,
    Jonathan

    The exact statement in oracle side which causing this error (O2SS0050:
    Conversion of identifier 'to_date(VARCHAR2, CHAR)' is not supported.) is below:
    dStartDate:= to_date(sStartDate,'MON-YYYY');
    Statement causing error O2SS0050:
    Conversion of identifier 'regexp_replace(VARCHAR2, CHAR)' is not supported is below.
    nCount2:= length(regexp_replace(sDataRow,'[^,]'));
    So there is no statement which is using to_date(VARCHAR2,
    CHAR) and regexp_replace(VARCHAR2, CHAR) in as such. 'MON-YYYY'  and '[^,]'
    are CHAR values hence SSMA is unable to convert it from varchar2 to char.
    Regarding SYSDATE issue, you mean to put below code in target(SQL) side in SSMA ?
    dDate date := sysdate;
    Thanks.

  • How to change datasource location in CR V10

    How to change the datasource location in CR10, I need to use same table in different database. I tried in "Set Datasource Location" but it is not updating to the new one which i have selected. please help me on this.
    Thanks,
    S Aravind.

    Hi Try like this,
    Go to the Database option on the top > Select Set data source option.
    The top portion of the Set Data source Location window shows the current connection and part at the bottom is where you would make a connection to the new database
    Once the connection has been made, select 'one' table from the current connection and then select a matching table in the new connection and click on the 'Update' button. Do this for all the tables one by one.

  • Set datasource location command at runtime

    Post Author: Jamal
    CA Forum: Semantic Layer and Data Connectivity
    Dear Folks,
    I have crystal report 10 and MS access, I need to change my datasource location at runtime without having to type code other than crystal report like VB or C++, Do crystal report have this possibility to change datasource location at runtime without needing to code other than crystal report ???
    Basicly I have multiple MS access database files and need one Crystal report to read from all of them at the same time, how can I do that without coding in a language other than crystal report.
    Best Regards
    Jamal

    Post Author: matthewh
    CA Forum: Semantic Layer and Data Connectivity
    Get a copy of BO Server and use a Business View.   Don't know of any way in Crystal Reports  itself.  BO Server is good but it ain't cheap.  Depends on how many users you have and what sort of budget you have.  I'm using it here and it has a lot of benefits. Alternatively build a data warehouse just for reporting using a proper DB engine and get a single report off that.  Use something like MySQL - fast, and above all - free!   If you don't need bang-up-to-the-second reports then run a scheduled data extraction and upload over night, load the data into the new warehouse and then run your reports against it.  I'm in the process of doing just that.  Read Ralph Kimball's books "The Data Warehouse Toolkit" and "The Data Warehouse ETL Toolkit" to get the idea.  The MySQL forum has a good Data Warehouse section.  A warehouse also gives you many advantages in that your production databases are not too heavily loaded, all your data conforms to set standards (eg data formats are all the same) and you have a historical record that can build over the years to many GB of data - I think Access will struggle with that ;0) - to name but a few.  Hope this helps.  BTW - thought of this last night - MySQL also has the Federated engine - so you could hook all your databases into it and query it with Crystal as though they were a single database.  Not sure if it'll connect to Access though.

  • Set datasource location and remapping fields in code instead of designer

    Dear all,
    We are currently migrating a VS6 reporting project to VS2010. The old project has like 133 Crystal Reports XI release 2 reports.
    All of these .rpt files need to have their datasource location changed and fields remapped because of a change in naming convention.
    The datasource location is currently set to a stored procedure in an Oracle database and this will remain; only the name of the
    stored procedure and the name of the fields returned are changed (due to new naming conventions).
    Is there a way, and I really hope so, to programmatically change the datasource location and remap the fields (mind that these fields are also used in formulas, grouping, total, ...).
    Doing this manually in the designer for like 133 times would be very time consuming.
    After some research I stumbled upon the CrystalDecisions.ReportAppServer.Controllers.DatabaseController but I'm looking for some example usage, if this is the correct way.
    The end result should be that all these 133 .rpt files have their datasource location changed and fields remapped.
    Any assistance or pointers in the right direction would be kindly appreciated.
    Thanks.

    Not aware of how you can do this in code.
    However, there are third party products which you can use to mass update reports with datasource and table mapping.
    RptInspector is a product I know of that can do what you want.
    Ian

  • Crystal 10 set datasource location issue

    I am getting hung up when trying to set a datasource location in Crystal 10.  I have tried uninstalling and reinstalling the software.  Any ideas?

    Hi,
    Try with this:
    1. Reduce the 'Hardware acceleration' setting in Microsoft Windows.
    2. To access the 'Hardware acceleration' setting in Microsoft Windows:
    Click Start > Settings > Control Panel > System > Display > Settings > Advanced > Troubleshooting.
    There are typically six possible settings for 'Hardware acceleration': from 'None' to 'Full'.
    If you are using Dual monitor run the CR application on primary monitor cause Dual monitor is not tested with Crystal Reports.
    Regards,
    Shweta

  • Using Datasource in OC4J  to connect to 9iDb(ArrayIndexOutOfBoundsException

    Hi all,
    I've been encountering a certain ArrayIndexOutOfBoundsException when attempting to connect to Oracle 9i
    via a defined datasource.
    I've taken the following troubleshooting steps but to no avail:
    1. Verified username and password
    2. Verified URL by having a test class to establish a direct connection using this URL
    3. Verified that both classes12.jar and ocrs12.jar are defined in the classpath
    3. Updated classes12.jar and ocrs12.jar from the OTN to copies stipulated to be compliant with 9.2.0.1
    (this was based on a post on the net with reference to similar error messages:http://www.orafaq.net/msgboard/java/messages/1488.htm)
    It would be great if anyone could have some input on this problem.
    Thanks!
    WK
    My development environment:
    Oracle Database 9.2.0.1
    oc4j
    The following configuration and code snippets are provided for reference:
    data-sources.xml
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OraclePool"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="USER"
              password="PASSWORD"
              inactivity-timeout="30"
              url="jdbc:oracle:thin:@localhost:1521:OracleDb"
    />
    Client Code:
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource)ic.lookup("jdbc/OracleDS");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    String strQuery = "SELECT id FROM TBL_PART";
    ResultSet rset = stmt.executeQuery (strQuery);
    Error:
    java.lang.ArrayIndexOutOfBoundsException
         at oracle.security.o3logon.C1.r(C1)
         at oracle.security.o3logon.C1.l(C1)
         at oracle.security.o3logon.C0.c(C0)
         at oracle.security.o3logon.O3LoginClientHelper.getEPasswd(O3LoginClientHelper)
         at oracle.jdbc.ttc7.O3log.<init>(O3log.java:290)
         at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:251)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:252)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:118)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.DriverManagerConnectionPoolDataSource.getPooledConnection(DriverManagerConnectionPoolDataSource.java:24)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.OrionPooledDataSource.getPooledConnection(OrionPooledDataSource.java:273)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.PooledConnectionUsage.getPooledConnection(PooledConnectionUsage.java:21)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:145)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.DriverManagerXADataSource.getAutoCommitConnection(DriverManagerXADataSource.java:226)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.LogicalDriverManagerXAConnection.intercept(LogicalDriverManagerXAConnection.java:88)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.FilterConnection.createStatement(FilterConnection.java:324)
         at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].sql.FilterConnection.createStatement(FilterConnection.java:325)

    Hi WK,
    According to your stack trace, you are using a very old version of OC4J. I suggest updating to the latest, production version: 9.0.3
    Also, I seem to recall reading somewhere (I think it was in this forum), that "DataSource" is not serializable, and therefore cannot be transferred to the client.
    I use "DataSource" in my BMP entity beans to interact with the database -- this works fine. I have not tried getting a "DataSource" from a remote client, though.
    And also you may need to pass some "properties" to your "InitialContext" constructor -- depending on the type of client you are using (which I could not ascertain from your post).
    Hope this has helped you.
    Good Luck,
    Avi.

  • CrystelReport Datasource location problem

    I'v developed an application.which works very fine on my pc. I havent done any hardcode there. I Have following code on my crystel reportviewer
    private void crystalReportViewer1_Load(object sender, EventArgs e)
                 HMSCon=new HMSConnection();
                 connectionString = HMSCon.cn.ConnectionString;
                 builder = new SqlConnectionStringBuilder(connectionString);
                 password = builder.Password;
                 username = builder.UserID;
                 dataSource = builder.DataSource;
                 initialCatalog = builder.InitialCatalog;
                 myTBInfo = new TableLogOnInfo();
                 myTBInfos = new TableLogOnInfos();
                 myConn = new ConnectionInfo();
                 myConn.ServerName = dataSource;
                 myConn.DatabaseName = initialCatalog;
                 myConn.Password = password;
                 myConn.UserID = username;
                 myTBInfo.ConnectionInfo = myConn;
                 myTBInfos.Add(myTBInfo);
                 crystalReportViewer1.LogOnInfo = myTBInfos;
      try
                     report = new FinalBillLodgingAndServices();
                     Lodgingreport = new FinalLodgingReportBill();
                     Servicereport = new FinalServiceBill();
                     String[] arrlis = (String[])RoomList.ToArray(typeof(string));
                     String[] servarrlis = (String[])ServiceroomsList.ToArray(typeof(string));
                     report.SetParameterValue("BookingId", bkinid);
                     report.SetParameterValue("RoomNames", arrlis);
                     report.SetParameterValue("BillStatus", "Paid");
                     report.SetParameterValue("LodgingPaybale", LodgingPayble);
                     report.SetParameterValue("AmountInWord", NetAmountINword);
                     report.SetParameterValue("PaybleServiceAmount", ServiceAmount,"FinalBillRoomServiceSubreport");
                     report.SetParameterValue("Rooms", servarrlis, "FinalBillRoomServiceSubreport");
                     crystalReportViewer1.ReportSource = report;
                     crystalReportViewer1.Refresh();
                 catch(Exception ex)
                     MessageBox.Show(""+ex);
    but when  i try to run that application on other pc it needs to set datasource location. and i need to rplace sql server name every time ..is der any way to open crystel report without seting this.

    Couple of suggestiond:
    1) make sure the db client is exactly the same version on both computers. You may want to use [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to check that.
    2) See KB [1553921  - Is there a utility that would help in writing database logon code?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Where can I find how to use DataSource?

    Hi,
    I am quite new to JDBC and is writing some small database program. I find many examples use DataSource, I want to know how to use it, but cannot find the API in the docs section of java.com.
    Can anyone point me to the location of javax.sql.DataSource, or even better some examples of using DataSource?
    Also, I am using Oracle as my database, do I need to register the oracle driver first for DataSource first also?
    Any help will be approcaited.

    Hi,
    You can get the more detailed documentation at
    http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html and please visit http://www.datadirect-technologies.com/download/docs/jdbc/jdbcref/usejdbc.htm for information on how to connect to database using datasources.
    Hope this helps.
    With Regards
    Gayam_Slash

  • Set Datasource Location does nothing???

    I dont get it...
    I have reports that are fed by SQL Server stored procedures.  Every now and then the developers will change some minor thing in one of the procedures (maybe a Group by or Order by change) and then rename the stored procedure.  So for example....
    USP_RPT_MYREPORT gets a minor update and gets renamed to USP_RPT_MYNEWREPORT...
    (I am over-simplifying, but you get the idea...)
    I go into Crystal Reports in Visual Studio and select the "Set Datasource Location" choice off the menu.  There, right on the darn screen that comes up it says "highlight the new datasource and click the Update button"...  I do that, and absolutely NOTHING happens, NOTHING changes, NOTHING gets updated.  I've done this about 20 times and now and every time, same thing - NOTHING happens.
    But if I go into the Database Expert, highlight my existing stored proc, and then hit "F2" to rename the alias, and set it to the new stored proc name - BING!!!  Everything works just fine.
    I looked in the Crystal documentation but of course, nothing there to illuminate whats going on with this seemingly useless "Set Datasource" selection...  So...
    What is this for?  What is it all about?  ...and why doesnt it work?
    Any help would be appreciated and sorry in advance for being frustrated - I work in Crystal...

    Thanks for the response and the attemp to help, but this cannot be quite correct - at least it does not seem so.  How do I know this?....
    Well, I have 2 stored procedures that are almost exactly alike - the only difference is the ORDER BY clause in the SQL itself (so this should have NO effect on Crystal)...
    I use the Set Datasource selection and yes, you are right, it DOES NOT change the name from my old Stored Procedure to the new one.  But if you are suggesting that it DID actually change where its pointing I dont believe you are correct because of this...
    The report itself has 3 Groups - these group headers are "tied" to the first stored procedure and even though I change the datasource (supposedly), these groups DO NOT change and thus when I run the report I get an error stating that the "Groupings do not exist"...
    In other words lets say the first stored procedure is called "SP1" and I am changing to a virtually identical stored procedure called "SP2".  Sure enough, when I use Set Datasource, the name DOES NOT change - it still says SP1...  But when I run the report the Grouping dies because nothing changed it to "SP2".  In fact, the Groups now say "???"
    What is particularly odd and frustrating about this (and also the sign of a very poorly QA'd product) is that if I go into the Database Expert and simply press "F2" and change the alias from SP1 to SP2, that seems to do the very thing that Set Datasource seems entirely unable, undesigned and unwilling to do.
    Bear in mind here that I have worked with Crystal for 3 very painful years and when any fields (columns) change in the backend SQL, I understand that it takes hours to rework the entire report - its stupid, it shouldnt take that long, but I have just accepted it with this klunky product - but when NO fields change it seems to me that should be very easy to manage and yet the only way I have found to do it is to try Set Datasource, watch it fail again and again and then use the Database Expert (and the F2 key in there) to rename the alias.
    In all the Crystal documentation I have (downloaded, and came with product) there is not one line I can find that talks about what Set Datasource is supposed to do, and should be doing.
    Anything that would make my life easier with this sometimes beastly product would be most appreciated.

  • I am trying to use the locate my macbook that was stolen. How do I know if it is set up on the service. It shows on the list but just says it is offline and doesn't say when or where it last was. I am trying to either locate it or erase it. HELP

    I am trying to use the locate my macbook that was stolen. How do I know if it is set up on the service. It shows on the list but just says it is offline and doesn't say when or where it last was. I am trying to either locate it or erase it. HELP

    Since you can see it in your device list it must have Find My Mac activated, but you're going to have to wait for them to take it online in order to either locate, lock or wipe it. Until it goes online you can't do anything. http://www.apple.com/support/icloud/find-my-device/
    iCloud: Locate your device

  • How to use DataSource and External transaction in 9ias?

    I'm working on a project that the application server needs to connect to over 100 databases.
    I'd like to use connection pooling and external transaction service defined in OC4J's Datasources.
    I wonder if anyone has an example of using datasource and external transaction service for OC4J.
    Right now, I export toplink project to a java source and do the initialization there manually but I don't know how to use Datasource to get connections and how to use the external transaction service in the java code for OC4J.
    I really appreciate you help.
    Wei

    Here is a fill in the blank example on how you could set this up through code:
    Project project = new MyProject();
    // alternatively, use the XMLProjectReader
    server = project.createServerSession();
    server.getLogin().useExternalConnectionPooling();
    server.getLogin().setConnector(new JNDIConnector(new javax.naming.InitialContext(), "jdbc/DataSourceName"));
    // the next line depends on the type of driver you want to use.
    server.getLogin().useOracleThinJDBCDriver();
    server.getLogin().useOracle();
    server.getLogin().setUserName("username");
    server.getLogin().setPassword("password");
    server.getLogin().useExternalTransactionController();
    server.setExternalTransactionController(new Oracle9iJTSExternalTransactionController());
    server.logMessages();
    server.login();

  • Crystal Reports 2008 - Error setting new datasource location

    Hi All,
    We are experiencing an issue while trying to set datasource location for our RM 3.0 reports in Crystal Reports 2008 designer. As per guide "SAP BusinessObjects Process Control 3.0 and Risk Management 3.0 - How to build and Personalize Custom Crystal Reports" (step 11), after opening the desire report we go to DataBase-->Set DataSource Location and when selecting our RM system (which actually has the BI content addon installed on it), we got the following error message:
    "Some tables could not be replaced, as no match was found in the new data source. Please verify the table required for any unmodified tables"
    I'm new on this so I'm not sure if the table indicated in the original datasource should exist in my DB (new datasource) before doing this? If so, how those tables are imported or created in our DB?
    Could you please help me on this issue?
    Please let me know if any other detail or data is required.
    Regards

    Hi Don,
    Thanks for the update.
    Actually I've installed SAP Integration Kit and its Fixpack in both....BOE Server (which is the same as the SAP server) and in client pc.  In all cases we have select a typical installation which supposes the required drivers are available. Also I've followed Ingo's documentation to activate and publish standard Risk Management reports (RM reports). Everything works ok with them. We are able to access reports through the application.
    The issue appears when trying to customize one of these standard reports through CR Designer. For example if we select the "GRRM_Risk_by_Risk_Category" and try to customize it as indicated in the "SAP BusinessObjects Process Control 3.0 and Risk Management 3.0 - How to build and Personalize Custom Crystal Reports"...the table behind this report (table GRFN_CY_API_GRRM_R1) it's not in our RM System. My main concern or question is regarding this....Did I miss something while importing transports files, activating or publishing RM reports, etc....and thatu2019s the reason why this (and any other) table is not already in my system? I was not able to find where those tables are supposed to be or how they should be imported in my system. The odd thing is...that we are trying to customize and set the new data source for these reports to the same system from where they are being opened. Put in this way...RM reports have been activated in system A (RM System) and published to system B (BOE System). While customizing reports through CR Designer...we are actually opening reports from system A. These reports have as their original data source...a demo SAP system info (uxcir1p.wdf.sap.corp) and when we want to update this data source with our RM system....the error appears. The whole process is explained in the above mentioned guide for your reference.
    Hope being clear enough..
    Thanks for your help

  • After the most recent update, I can no longer access stand alone GPS services. What's up with that? I am now forced to use google location services which use up some of my data allotment.

    After the most recent update, I can no longer access stand alone GPS services. What's up with that? I am now forced to use google location services which use up some of my data allotment.

        ddmathias, I want to make sure all services are working correctly on your phone. What GPS services were you using before the update happened? What kind of issues are you having with the services? Do you get any kind of errors? Please keep us posted.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Going Nuts trying to install my HP Photosmart All In One

    I am having a heart attack here! Tried several times to install my All In One and everything works, BUT the scanner? Keeps telling me that the scanner is not connected, or can't be found. Then when I click on the buttons to edit photos or enter the P

  • Given up on 2560x1440 Resolution

    I have a brand new 27" 3.4 i7 iMac. Love everything about it, almost. Ever since I got it I ran the highest resolution, 2560x1440, you know, because I can. Ever since I got it I found myself constantly magnifying, zooming, messing with font size sett

  • Problem in pipeline while processing an IDOC

    Hi, I am triggering an IDOC in SAP, when i see the same in moni.. it shows a ">" sign and the Q status column shows a green dot.. Any inputs on this is appreciated.. Thanks in advance.. Karthik.

  • Oracle Connector for Outlook over https?

    Microsoft have had this feature since a long time. Is this somehow possible with the Connector? Or are users from the "outside" bound to use the webmail client or a vpn connection. best regards Mats

  • COMPUTE_FLOAT_ZERODIVIDE when display sales delivery

    Hi All, Before describing the issue will give you complete overview about the below requirement Material X  ( base UoM - PC) after certain duration becomes unusable & needs to be sold as scrap in alt UoM MT (metric ton). So we decided to create a dum