CRXI - Adding SQL subtables to already existing tables in a report

Crystal Reports XI
SQL 2005
I have a SQL 2005 set of tables and subtables with their respective fields.  In one of a pre-existing CRXI report there's an Opportunity table which now has a new "Opportunity_Details" subtable related to the original Opportunity table.  This is a 1:1 relationship so that for each and every Opportunity record in the Opportunity table there exists only one Opportunity_Details record.. and vice versa.  I can see the Field Explorer on the lower right of the screen but how do I ADD (connect?) the Opportunity_Details table to the pre-existing Opportunity table so I can use BOTH tables in a report?  I've looked into Data Source Location but that didn't do anything.  I can see all the respective fields in all tables in the Field Explorer.  I just need to ADD a new table to the Field Explorer either 'under' the Opportunity table or 'under' the Database Fields area.
Once the connection is made is this connection valid for any and all sub-reports also?
My experience is primarily on v8.5 so some 'easy' assistance here would be helpful. I've looked around but nothing seems to jump out!
TIA!!

>
total1 wrote:
> I don't follow you on this request!
> What I have just tried is to go through the Set Datasource Location>Create New Connection>OLE DB (ADO)>Microsoft OLE DB for SQL Server and then connected to the server, then selected the MySQLDB.  VISUALLY, this seemed to work but I may have TWO connections to MyServer and MySQLDB.  The Field Explorer dialog box with Database Fields now shows an additional table (the table I desire) BUT I'm not convinced that what I did IS the correct methodology/process.  [This is under a single Database Fields in alphabetical order.]  Performance or even correct functionality may be sacrificed.  Is there a way to know if what I've done IS correct?  I have doubts...  For example the Set Datasource Location>Current Data Source shows TWO (2) MyServers with Properties and the respective tables for each as selected for each connection.  That is, the second MyServer shows the table I just selected and the table I just selected isn't listed in the first MyServer connection.  It still has the original tables.
> HTH
> Thanks...
It sounds right. Verify your database for the connection that does not show the table. If it does not show up, try setting the location again, setting the original connection list of tables to the new connection (I hope that makes sense).
I can not see the document you listed as my IT department has that web side blocked

Similar Messages

  • Already existing tables in oracle 10g problem

    Hi, i am new to oracle and just installed oracle 10g, my porblem is that when i ran the query i got an error.
    SQL> select *
    2 from emp;
    from emp
    ERROR at line 2:
    ORA-00942: table or view does not exist
    As emp table already exist in database but it does not show result. please help me. Thanks.

    i have heared form someone that i should copy some text (from files) or some files which resides in bin folder (i don't know the exact path) in the sql console to access existing tables. is that ture?Not sure what that means... to access existing tables, or to create new ones you have to use Sql commands (or some graphic stuff).
    What about reading some documentation ?
    System user is a DBA, and can possibly read any tables, but most probably is not the owner of emp table. To know it you can do
    SQL> select owner from dba_tables where table_name='EMP';
    then connect to that user, or, as system user, do
    SQL> select * from <owner>.emp;

  • How add primary key constraint to already existing table with data

    I want apply primary key constraint to already existing table with data
    is there any command or way to do

    Alternatively, assuming you want to ensure uniqueness in your primary key column you can do this:
    alter table <table name> add constraint <cons name> primary key (col1,col2) exceptions into <exception_table>
    If the altter table statement fails this will populate the EXCEPTIONS table with the rows that contain duplicate values for (col1,col2).
    You will need to run (or get a DBA to run) a script called UTLEXCPT.SQL (which will be in the $ORACLE_HOME/rdbms/admin directory) if you don't already have an EXCEPTIONS table.
    Cheers, APC

  • Win App Deployment include SQL 2008 Express - Check if any SQL Server version already exist

    Hi there
    I have a application that is deploying and installing correctly (Setup and Deployment Project in VS 2008) and has SQL 2008 Express as a pre-requisite. SQL Express installs fine if not found but I don't want it to be installed if any other version of SQL
    Server already exists on the target computer. What do I have to adjust in the Bootstrapper package (package.xml or product.xml)  for SQL Express to do this check? Is the change done within the Bootstrapper package? Do I have to create a Custom Action
    in my Deployment project for this check? Any help is appreciated.
    Thanks
    Dweezil

    Hi Dweezil,
    If you use SQL Express Bootstrapper, you can add the SqlExpressChk.exe package file in the product.xml to check that if SQL Server is already exists. 
    However, please note that SqlExpressChk.exe is limited to only the default instance name, SQLEXPRESS, it won't detect other named instances. A registry check is required when detecting existing SQL Server with custom instance name.
     For more details, please review this
    blog.
    There is also a similar thread for your reference.
    https://dotnetinstaller.codeplex.com/discussions/245326
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • Adding a Sequence to an existing table

    I have a table containing herbarium data. The data in the table is in no particular order but the specimens themselves in the herbarium are grouped in a particular way. The users would like to order the data in the table in a certain way then add a counter. So the record with counter number 1 will be the same as the first specimen in the herbarium. So - how do I add a counter to the table - giving each record that already exists a number?
    I know how to select and order the data and I know how to create a sequence - I just don't know how to assign a number to the records (that must ordered) that already exist.
    Thank you for any help

    Can you be a little more specific...give an example. The data needs to be ordered a certain way and then the number added based on this order. I can add a column and assign the sequence to that column but my data isn't ordered the way it needs to be without a query order by clause. Does this make sense?

  • Implications of adding new key fields to existing table

    Hi All,
    I have searched forum regarding this. But didn't find exact answer.
    We are planning to add new key fields to existing Ztable. I want to know the implications of this.
    I have checked the where used list of table and found no impact. Only one point is making me to think again and again.
    If we add key fields to existing table then we have to adjust the table from SE14 to activate it. But this adjustment doesn't ask for TR.
    So if i release my TR, entries in other systems will also be adjusted accordingly??? Business is OK with the new fields values to be blank for existing entries.
    Thanks,
    Vinod.

    Yes the data in transported  systems will also be adjusted. If this table contains too much data make transport at late hours because it will take long and table can't be used while it's adjusted. In this adjustment process data is copied to a temporary table and moved back to original table using move-corresponding command after key added. There will data loss if you remove a key or key fields field length but in your case it shouldn't be a problem.
    Edited by: Gungor Ozcelebi on Jul 2, 2009 9:18 AM

  • Adding a field in already existing query layout

    Hi All,
    I have a requirement where I have to add couple of fields in an already existing query layout.
    Through SQ01 and layout painter I have added the fields to the layout. When I test from query painter it displays the newly added fields. But when I execute the transaction that is designated to run the query its not displaying those fields.
    What am I missing here?
    Thanks in advance.
    Thanks,
    Arun

    Arun,
    As you have done some changes to the query,the internal report generator will generate a new program correspponding to the Query which should be attached to the T-code.
    Currently the t-code might be having the earlier program name ie the program generated by the query before changes were made hence it is not displaying.
    Just check the program name of the Query and the  program name attached to the tcode.
    K.Kiran.

  • Partitioning an already existing table

    Hi,
    I need to partition many existing tables. All these tables hold more than 50 million data each.
    Since i am new to partitioning, can any one kindly guide what are the best practices one should look for under such circumstances.
    Is it neccessary to dwell on the following point
    1) Type of table (Heap or IOT etc).
    2) Indexes and kinds of indexes along with the columns in which they are defined.
    3) Block size
    4) Constraints
    5) Row Chaining, Migration etc.
    I have very basic idea about the above mentioned points.
    Please guide me as to how should the partitioning be done, what sort of partitioning is best, any performace issues.
    I sincerely appreciate the cooperation of all members.
    Thanks in advance
    Message was edited by:
    Master

    Hi,
    to create a partitioned table from the non portioned table
    create table part partition XXXXXXXX
    (partition p01 tablespace XX1,
    partition p02 tablespace XX2,
    partition p03 tablespace XX3,
    partition p04 tablespace XX 4
    nologging
    as select * from old data ;
    OR
    export the old non partition table data – rename the non partitioned table, create partitioned table import the data
    OR
    Exchanging Partitions
    You can convert a partition (or sub partition) into a non-partitioned table, and a non-partitioned table into a partition (or sub partition) of a partitioned table by exchanging their data segments. You can also convert a hash-partitioned table into a partition of a range-hash partitioned table, or convert the partition of the range-hash partitioned table into a hash-partitioned table. Similarly, you can convert a list-partitioned table into a partition of a range-list partitioned table, or convert the partition of the range-list partitioned table into a list-partitioned table
    One of the great features about partitioning, and most specifically range-based partitioning, is the ability to load in new data quickly and easily with minimal impact on the current users. The manuals indicate that the critical command to achieve this is as follows:
    alter table pt_tab1 exchange partition p_9999
    with table new_data
    Ani

  • Found errors in existing report after added a column in an existing table

    Hi,
    I have a Table called "EMP" and a interactive report "EMP_Details".
    EMP table has data and it shows in the report.
    EMP_Details report has two buttons. - 1.Create - it is used while inserting a new record into the table for a new joinee
    2. Get_Info - it is used in case you want to know about an employee(there is a drop down to select the name os a employee) in details.
    Till now the report was working fine.
    Now What I did...
    1. I did some edit in the values in the EMP table.
    2. I added a new column in the Table and put some value in each row. Now the table was changed and the new values and column was reflected in the table.
    3. so accordingly, I added the new column in the "Process" used for inserting a new record into the table and i selected the new column from the "Select column list" for showing it in the report.
    Now what happened to report
    1. I am getting the report for the old employees but what i made changes in the table.. it has not been reflected in the report.
    2. The new column is shown in the report but the values I have put in the table have not shown in the report.
    3. While inserting the data for a new joinee, the value can not be inserted into the table at all.
    Appreciate, If anyone understands my issues and give any solution.
    Thanks in advance.
    Kuldip

    Kuldip:
    Sounds like you may have forgotten to 'Commit' your changes to the database . Go to the session where you edited the values of the EMP table and execute a 'commit'.
    varad

  • Performing impdp into an already existing table

    hi
    i have a schema named current_students
    which has a table of all the student information (student_master)
    i was to syncronize this table with another schema's same table.
    (i want to sync this student master of current_students into student_master of all_students schema)
    the thing is student_master of all_students schema already has values. what i want is to just append the table.
    it was possible in the old exp / imp by ignore=y keyword.
    how can i do this using impdp ???
    plea help
    thanx in advance

    how can i do this using impdp ???impdp help=yes

  • Generate a Number for a already existing table with records

    Hi All,
    Is it possible to generate number for a column in a table. The table already has 50,000 records. I have a empty column in which I want to generate number sequentially for reference purpose......
    Whether it can be done ?????
    I was thinking og Merge/ rownum I didnt get any possibls solution out of it .........any suggestions....
    Thanks
    Ananda

    I have a empty column in which I want to generate number sequentially for reference purposeThe following table content :
    Oracle
    DB2
    MSSQLNow, you have to put a kind of ID, but what row will get the 1st ? What row will get the 2nd ? etc.
    If you don't care, then sequence as suggested is your friend. Then, you could use also sequence for further insert.
    Nicolas.

  • Adding SQL Server AlwaysOn to existing Failover Clusters

    Hello,
    We use two seperate ms sql server 2012 clusters. We have two sites. All nodes are in same domain.
    In the first site,  NOD1 and NOD2 are in SITE A cluster group. (INSTANCE A) They have a shared SAN storage.
    In the second site, NOD3 and NOD3 are SITE B cluster group. (INSTANCE B) They have a shared SAN storage too.
    Can we use alwayson  between two sites?  If it is possible , how can we do it?  and documents, web site etc. 
    Thank you.

    Hi,
    Windows cluster can straddle multi sites. If they are in the
    same WSFC cluster, you can.
    Please download the “AlwaysOn Architecture Guide: Building a High Availability and Disaster Recovery Solution by Using Failover Cluster Instances and Availability Groups” 
    Word document from the following link.
    http://msdn.microsoft.com/en-us/library/jj215886.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Error: This entry already exists in the Financial Report Table OFRT..

    Hi ,
    The above error appears only when we try to create any kind of templates in the database.
    Last time this error appeared when trying to create Profit and Loss Statement using Financial Report Templates.
    As a result i had to use copy express to copy over the template from one database to another.
    This solved the issue.
    But now on trying to create a cost center hierarchy, (template to design profit center) we face the same error as mentioned in the subject line.
    What could be the reason?
    I tried to create a new financial report template as well, it prompts for the same error.
    Kindly revert with your comments.
    Regards.

    Hi Gordon,
    Thanks for your reply!
    Can you let me know how to log an issue with SAP helpdesk.
    Currently our consultants are logging issues on our behalf.
    But this process takes long...
    Please comment.
    Regards,

  • Apex 4.0 Websheets: Insert existing Tables in a Report

    Hi there Apex 4.0 friends (& family),
    this could be mayby a stupid question, but anyway ... :-)
    I´m playing arround with Websheets. New Section/ Data / Data Section Source: Report
    But where can i define this Report ?
    Thanks in advance
    Marco

    Not sure if this is the question or not but to include sql tags and reports in a websheet application, you must have SQL enabled. Within the Builder, select the application > click Edit Properties > under SQL, set "Allow SQL Tags and Reports" to Yes. You can associated objects that will show as suggested objects (just makes it easier for read contributors) or just leave those out and select from anything accessible from within your schema.
    -- Sharon

  • Generating SQL Script for Existing Tables and DBs

    Hello,
    is it possible to generate automatically a SQL-Script from an existing table or oracle database ?
    I want to export an existing table from an Oracle DB (g11) if its possible with the data.
    Perhaps somebody could me explain how to to do this.
    I am using the "SQL Developer 2.1" and the "enterprise manager konsole".
    I'm a rookie in using this tools.
    Thank you for any informations.
    N. Wylutzki

    If you want to export data, you should use the export utility. This is documented:
    http://tinyurl.com/23b7on

Maybe you are looking for

  • Set up teamcapsule wifi and airport express

    Good day.  I have strange problem. At home i have dsl router witch setted up  by provider. It configured as dhcp, def gatevays. At timecapsule (with wifi) i setted up wifi . the timecapsulconnected to router by lan at bridge port. Also i have airport

  • Transfer Aperture from UK Store account to US store account

    Hello, I have previously purchased Aperture from my UK store account and now i am using my US stora account after moving to the US. Everytime I have to upgrade apertue i have to sign in with the UK store account. Is there a way to transfer my purchas

  • Cross-platform Synchronization

    Recently replaced desktop with new Windows 8.1 Pro platform.  After setup, I installed another copy of 8.1 Pro on a laptop, using the same userid and password signin credentials as that of the desktop.  Until recently, I didn't see any difference; ho

  • Problems syncing iPhone photos

    Hi, I recently bought a new iMac (January 2014).  My iPhone 4S was syncing photos with my old iMac fine.  But now with the new iMac, my iPhone photos are unable to sync.  Anyone experienced similar problems?  Any idea on how to resolve? Thanks!

  • I can't sync new music onto my iPhone?

    I have a black 32GB iPhone 5. I've had the phone for about 7 months and I've had no problems with it until recently. My iTunes won't sync new music onto my iPhone. I've tried switching the cable and checking and unchecking music, but it doesn't work.