Need help querying multiple tables...

Afternoon...
I'm brand new to crystal, with literally 1.5 hours at most under my belt.
Some how during company restructuring CR got thrown on my plate.
I just built a report that pulls aged data from our call center's DB (We're running BMC Remedy for call tracking stored on a UNIX, Oracle 9i box)
What I am trying to do is select and sum time values in another table, base on the record selection for the current table.
The record selection is:
{CSG_ENTERPRISE_LOOKUP.Account_Number} like "033CDCO*" and
{CSG_ENTERPRISE_LOOKUP.Create_Date} in Aged0To30Days
I added and linked to another table by an enterprise record id.  I'd like to grab all records from CSG_Join_Outer_Incident__to_Ticket that have "description LIKE "Incoming%" OR description LIKE "Outgoing%"" where the enterprise ticket numbers match.  It should take the times of all records found, then sum and report them to the report as RPT_Total_time.
I haven't been able to find a solution to do this... I thought about a Union, or the following query:
select sum(Total_Time) from CSG_Join_Outer_Incident__to_Ticket where CSG_ENTERPRISE_LOOKUP."Escalation__Tkt_ID" = CSG_Join_Outer_Incident__to_Ticket."Escalation__Tkt_ID" and (CSG_Join_Outer_Incident__to_Ticket."Description" LIKE 'Incoming%' OR CSG_Join_Outer_Incident__to_Ticket."Description" LIKE 'Outgoing%') as RPT_Total_Time
Crystal does like anything I'm doing... I can't find anything of use on the web... and XI, which I have will not run on our reporting server that this report runs on (8.5)
Ideas? Suggestions?
Thanks.

Look at hte JTable API. You'll find a link to the tutorial.
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

Similar Messages

  • Need help in quering table in loop

    I have following scenario and need some help:
    I have Table A from there I need to select NAME in LOOP and query Table B with each name.
    Table B can give me more than one record per call and then I have to select the best record and update the Table A with Table B values (best row).
    I have created a global temp table and insert the table B results in that table and then loop through Temp table to decide which record is best. Then update the Table A.
    This solution is working but is very slow. I have created indexes on all the tables but still very slow. Is there any solution to make it fast?
    Thanks

    skas wrote:
    I have following scenario and need some help:
    I have Table A from there I need to select NAME in LOOP and query Table B with each name.
    Table B can give me more than one record per call and then I have to select the best record and update the Table A with Table B values (best row).
    I have created a global temp table and insert the table B results in that table and then loop through Temp table to decide which record is best. Then update the Table A.
    This solution is working but is very slow. I have created indexes on all the tables but still very slow. Is there any solution to make it fast?
    ThanksDon't use PL/SQL loops, don't use GTT's, do it in plain sql. If you post the table descriptions and some sample data (preferrably in the form of cretate table and insert statement) and explain how you determine "the best record" in table B I'm sure that someone here could help you with the requirements.
    John

  • Help with multiple table joins

    I'm trying to limit the results of a query joining multiple tables. I have a main table, tbl_webrequests, and multiple tables with supporting information. The unique column for tbl_webrequests is reqID. There is another table, tbl_instructions, that holds all the instructions tied to each request. I join the tables using reqID.
    I'm trying to construct a page that has all of the records in tbl_webrequests. The problem I'm having is that with each request that has multiple instructions, I have multiple results because of the multiple instructions for one reqID. For now, all I want is the original instruction to display. Below is the original query, and below that is what I'm trying to get the query to do for each record in tbl_webrequest. Note that 319 is a random uniqueID in tbl_webrequests.
    SELECT
    DISTINCT W.reqID, W.dt_close, W.dt_due, W.subject, W.statusid, W.empID, W.priorityid, W.assigneeid, W.categoryid, W.url, W.hrs,
    W.closingNotes, W.mins, W.requestTypeID, I.instructions, I.instID
    from tbl_webrequests W left join
    (select reqID, instID, instructions from tbl_instructions) I on W.reqID = I.reqID
    ORDER BY I.instID asc;
    SELECT
    distinct I.instructions, I.instID, W.reqID, W.dt_close, W.dt_due, W.subject, W.statusid, W.empID, W.priorityid, W.assigneeid, W.categoryid, W.url, W.hrs,
    W.closingNotes, W.mins, W.requestTypeID
    from tbl_webrequests W left join
    (select reqID, instID, instructions from tbl_instructions where rowNum = 1 and reqid = 319 order by instID asc) I on W.reqID = I.reqID
    where W.reqID = 319
    ORDER BY I.instID asc;
    My question is, how do I pass the reqID as a variable into the join subquery so that the query returns only returns the first joined item in tbl_instructions for each record in tbl_webrequests?
    Any help is appreciated
    Thanks!

    Scrap the "DISTINCT" and try something like this:
    Select
           I.Instructions, I.Instid
         , W.Reqid, W.Dt_Close, W.Dt_Due, W.Subject, W.Statusid, W.Empid, W.Priorityid
         , W.Assigneeid, W.Categoryid, W.Url, W.Hrs, W.Closingnotes, W.Mins, W.Requesttypeid
      From Tbl_Webrequests W Left Join
         ( Select Reqid, Instid, Instructions
             From Tbl_Instructions I0
            Where Instid = (Select Min(Instid) From Tbl_Instructions I1
                             Where I1.Reqid = I0.Reqid)
         ) I On W.Reqid = I.Reqid
    Where W.Reqid = 319
    Order By I.Instid Asc;;)

  • Need help in SQL table creation

    Hi All,
    I created a table a month back.Now i need to create another table of the same structure.
    Is there any way so dat i can get the script of the table which i created earlier and use the same to create another.
    Or is there another way so that we can create a table with same structure of the existing table.
    Please help.
    Regards,
    Mohan

    Check out the [DBMS_METADATA.GET_DDL|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#i1019414] function.
    Example:
    SQL> SET LONG 5000
    SQL> SELECT DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') FROM DUAL;
    DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
      CREATE TABLE "SCOTT"."EMP"
       (    "EMPNO" NUMBER(4,0),
            "ENAME" VARCHAR2(10),
            "JOB" VARCHAR2(9),
            "MGR" NUMBER(4,0),
            "HIREDATE" DATE,
            "SAL" NUMBER(7,2),
            "COMM" NUMBER(7,2),
            "DEPTNO" NUMBER(2,0),
             CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE,
             CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
              REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"Edited by: Centinul on Jan 11, 2010 8:01 AM

  • Need help with JSF table and scrollable pages

    I need help regarding usage of <t:dataTable>
    I have a List on my managed bean. It has 50 records.
    I am displaying the first 10 records and need to implement paging.
    I hear that there is a faces taglibrary called tomahawk which provides a <t:dataTable> and a <t:dataScroller> to implement scrolling.
    Is there a sample implentation that I can take a look at to see how I can solve my problem??
    Any help is highly appreciated.
    Thanks
    Amol

    Check here: http://www.irian.at/myfaces/dataScroller.jsf;jsessionid=F3F50A51583FEEF38D968A4AF5DC949C

  • Query help from multiple tables

    I want a query from these kind of data placed in 3 different tables.
    case_batch = 2677101 , which has fine_no = 2012,2013,2014. fine_amt = 150,425,75.
    fine can be paid in cash,check or Credit card(CC)
    tble 1
    seq --- case_batch
    1 --- 2677101
    tble two
    seq -- case_batch -- fine_no -- fine_amt
    1 -- 2677101 -- 2012 -- 150
    2 -- 2677101 -- 2013 -- 425
    3 -- 2677101 -- 2014 -- 75
    tble three
    seq -- fine_no -- cash -- check -- CC
    1 -- 2012 ---- 50 -- 0 -- 0
    2 -- 2012 ---- 0 -- 50 -- 0
    3 -- 2012 ---- 0 -- 0 -- 50
    4 -- 2013 ---- 25 -- 0 -- 0
    5 -- 2013 ---- 0 -- 0 -- 400
    6 -- 2014 ---- 0 -- 0 -- 75
    I am looking for a result query like this
    case_number -- fine_no fine_amt cash check cc
    2677101 --- 2012 --- 150 --- 50 --- 50 --- 50
    --- 2013 --- 425 --- 25 --- 0 ---400
    --- 2014 --- 75 --- 0 --- 0 ----75
    2677102 etc
    hopes i made my request clear.
    appreciate all help.
    Edited by: pl/sql baby on Apr 28, 2009 10:49 AM
    Edited by: pl/sql baby on Apr 28, 2009 10:58 AM

    with t2 as (
                select 1 seq,2677101 case_batch,2012 fine_no,150 fine_amt from dual union all
                select 2 seq,2677101 case_batch,2013 fine_no,425 fine_amt from dual union all
                select 3 seq,2677101 case_batch,2014 fine_no,75 fine_amt from dual union all
                select 4 seq,2677102 case_batch,2015 fine_no,150 fine_amt from dual union all
                select 5 seq,2677102 case_batch,2016 fine_no,425 fine_amt from dual union all
                select 6 seq,2677102 case_batch,2017 fine_no,75 fine_amt from dual
         t3 as (
                select 1 seq,2012 fine_no,50 cash,0 check_,0 CC from dual union all
                select 2 seq,2012 fine_no,0 cash,50 check_,0 CC from dual union all
                select 3 seq,2012 fine_no,0 cash,0 check_,50 CC from dual union all
                select 4 seq,2013 fine_no,25 cash,0 check_,0 CC from dual union all
                select 5 seq,2013 fine_no,0 cash,0 check_,400 CC from dual union all
                select 6 seq,2014 fine_no,0 cash,0 check_,75 CC from dual union all
                select 7 seq,2015 fine_no,50 cash,0 check_,0 CC from dual union all
                select 8 seq,2015 fine_no,0 cash,50 check_,0 CC from dual union all
                select 9 seq,2015 fine_no,0 cash,0 check_,50 CC from dual union all
                select 10 seq,2016 fine_no,25 cash,0 check_,0 CC from dual union all
                select 11 seq,2016 fine_no,0 cash,0 check_,400 CC from dual union all
                select 12 seq,2017 fine_no,0 cash,0 check_,75 CC from dual
    select  case t2.fine_no when min(t2.fine_no) over(partition by t2.case_batch) then t2.case_batch end case_batch,
            t2.fine_no,
            t2.fine_amt,
            sum(cash) cash,
            sum(check_) check_,
            sum(CC) CC
      from  t2,
            t3
      where t3.fine_no = t2.fine_no
      group by t2.case_batch,
               t2.fine_no,
               t2.fine_amt
      order by t2.case_batch,
               t2.fine_no
    CASE_BATCH    FINE_NO   FINE_AMT       CASH     CHECK_         CC
       2677101       2012        150         50         50         50
                     2013        425         25          0        400
                     2014         75          0          0         75
       2677102       2015        150         50         50         50
                     2016        425         25          0        400
                     2017         75          0          0         75
    6 rows selected.
    SQL> SY.

  • Urgent help in multiple table update query

    TABLE1
    NAME
    RATE
    TABLE2
    NAME RATE1 DATE1
    NAME RATE2 DATE2
    NAME RATE3 DATE3
    Can anyone help me to write a query which can update RATE in TABLE1 based on
    following criteria ?
    We have same column 'NAME' in both the tables.
    First Find maximum Date from the TABLE2 and then take correspoinding rate from TABLE2 and update with the RATE column in TABLE1.

    Works as expected for me:
    SQL> CREATE TABLE TABLE1 (
      2   NAME VARCHAR2(10),
      3   RATE NUMBER
      4  );
    Tabelle wurde erstellt.
    SQL> CREATE TABLE TABLE2 (
      2   NAME VARCHAR2(10),
      3   RATE NUMBER,
      4   DT DATE
      5  );
    Tabelle wurde erstellt.
    SQL> INSERT INTO TABLE1 VALUES ('NAME1', NULL);
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE1 VALUES ('NAME2', NULL);
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE1 VALUES ('NAME3', NULL);
    1 Zeile wurde erstellt.
    SQL>
    SQL> INSERT INTO TABLE2 VALUES ('NAME1', 1, SYSDATE);
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE2 VALUES ('NAME1', 2, SYSDATE-1);
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE2 VALUES ('NAME1', 3, SYSDATE-2);
    1 Zeile wurde erstellt.
    SQL>
    SQL> INSERT INTO TABLE2 VALUES ('NAME2', 1, SYSDATE+1/1440);
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE2 VALUES ('NAME2', 2, SYSDATE+2/1440);
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE2 VALUES ('NAME2', 3, SYSDATE+3/1440);
    1 Zeile wurde erstellt.
    SQL> update table1 t1 set
      2    rate = (select t2.rate
      3              from table2 t2
      4             where t2.dt  = (select max(t3.dt)
      5                                from table2 t3
      6                               where t3.name=t2.name
      7                             )
      8               and t2.name=t1.name
      9           );
    3 Zeilen wurden aktualisiert.
    SQL> select name, rate from table1;
    NAME             RATE                                                          
    NAME1               1                                                          
    NAME2               3                                                          
    NAME3                                                                          
    SQL> INSERT INTO TABLE2 VALUES ('NAME3', 1, TRUNC(SYSDATE));
    1 Zeile wurde erstellt.
    SQL> INSERT INTO TABLE2 VALUES ('NAME3', 2, TRUNC(SYSDATE));
    1 Zeile wurde erstellt.
    SQL> update table1 t1 set
      2    rate = (select t2.rate
      3              from table2 t2
      4             where t2.dt  = (select max(t3.dt)
      5                                from table2 t3
      6                               where t3.name=t2.name
      7                             )
      8               and t2.name=t1.name
      9           )
    10  ;
      rate = (select t2.rate
    FEHLER in Zeile 2:
    ORA-01427: Unterabfrage für eine Zeile liefert mehr als eine Zeile

  • Need help in GL table column mapping - R12.1.3

    Hi,
    we are upgrading from 11.5.10 to R12.1.3
    While modifying one of the reports, come across a query which uses gl_mc_reporting options table.
    This table is replaced by gl_ledger_relationships in R12.
    However, in the query, we are using reporting_set_of_books_id in the where clause.
    Can you please let me knw the corresponding column I need to use from gl_ledger_relationships in R12.
    Thanks!

    well vishwa u r right it wont work for multiple columns,
    then i guess this shud work.
    @thendral
    U can try like this create the rows with single column
    then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
    кu03B1ятu03B9к

  • Need Help with Unusual Table Behavior

    I've been asked to create a table with unusual behaviors, and I'm a little stuck on how to implement it. The table has cells with dates and blanks in it. The following rules need to work:
    1. If the cell has a date in it, then:
    a. If the user single-clicks on the cell, the cell should be selected. At most, the date could be highlighted and copied, but not changed
    b. If the user double-clicks on the cell, a popup window should appear that allows entry of detailed data about the date. This overrides the default behaviors of entering edit mode on double-click.
    c. If the user presses F2, the cell should enter edit mode and allow the user to edit or remove the date. This prevents the user from accidently changing an existing date, which is supposed to be a rare occurance anyway.
    2. If the cell has no date, then:
    a. If the user single-clicks a cell, double-clicks a cell, or uses the keyboard to navigate to a cell and then begins typing, the cell should enter edit mode and allow the user to enter a date. Once a valid date has been entered, the rules for #1 apply.
    Optional:
    The user can remove a date by clearing the date, but it would be nice if they could select multiple dates for deletion.
    Any ideas would be appreciated. Right now, I'm stuck on how to make the cell editable with a single click depending on whether there is a date already in it.

    Torgil wrote:
    PatrickRThomas wrote:
    Fair enough, but in all the topics I've seen on this site, I almost never see someone respond once they've been given an answer to their question. Why call me out on it and not everyone else?It's not just you. It's becoming more and more common actually. Here's an example from only yesterday (reply 3):
    [http://forums.sun.com/thread.jspa?threadID=5340766]
    Now, you may not like this, but the fact remains that this is how this particular forum works, and if you want help from the regulars here it's in your best interest to stick to the forum rules. Arguing about it almost never helps your case. (Personally I don't care much either way, but that's just me and as you can see from my posting history I'm not here very often so my opinion doesn't matter much.)
    Finally, if you want help on JTables in particular, camickr is your man, so you might want to stay on his good side :-)In that thread you cited, it's fair to point out that the person never responded, but calling him a louse, etc. was uncalled for and unprofessional. If someone had politely said that I should reply to my other threads, I would have apologized and moved on. However, that's not what happened. I was called out in a way intended to humiliate me for 2 instances, not for my failure to reply, but for failing to reply quickly enough. That's what I found to be so ridiculous, and hence, my sarcasm. In the third instance, perhaps I should have responded with a "thank you" to the second response that I received. I'll take my lumps for that one. I also took offense to the suggestion that I only replied to my previous thread because I wanted help on this one. That was just a baseless accusation.
    And for the record, the reason that I'm responding to this topic so quickly is that my email notifications are working this time. I do check my watchlist when I have a question that needs answering, but if I get pulled off onto another task, I may not check it for a while. I can't help that.

  • NEED HELP PUTTING MULTIPLE PAGES TOGETHER IN 1 PDF

    HOW DO I PUT 10 PAGES TOGETHER TO OPEN IN 1 PDF?

    Thanks Janelle - I do not have that ability with the Epson RX580. Epson just answered my tech support question with this answer:
    I am sorry you are experiencing difficulties with your EPSON Stylus Photo RX580. Unfortunately this feature is not available with Mac OS X. You will need a third-party software that will help you with this, such as Poster Print for Mac or Tiler. Please note though that Epson does not support these applications.
    So I guess my question becomes what software can I use to print my images on multiple pages. As I do large photo transfers I need to be able to do this with my mac in an efficient way and not try to cut portions of image into seperate print jobs that would be too time consuming. HAve you had any experience with other software. If not I guess the next question  what printer would you recommend that would do this with my MAC. I have included a pic of one of my larger transfers on a cupboard. To do this I needed the image to be tiled on 8 different sheet of 8.5x11 so this is a feature I need through either software or a printer that is easy to use and easily accessible. Thanks Krista
    I am inl

  • Newbie needs help with multiple devices?

    Hi and best wishes to all.
    I could really use some advice on the following.
    I purchased an iPhone and set it up on my PC in the normal way.
    A few months later, my Creative Vision battery died, and Creative's only advice
    was "buy a new one!". No chance Mr. Creative! If you call that customer care, I'm moving to Apple! So I purchased a 64Gb iPod Touch and installed that.
    I must admit to a little difficulty trying to manage both devices in iTunes, but I'm also willing to admit that if I found the time to read the manuals, I'd probably get it right!
    My main query is this:
    I now use a second laptop when I'm away from my office and I want to mirror my main PC with my portable one, so that I can manage the iPhone and iPod on both machines.
    Any advice on all of the above would be greatly appreciated.
    Thaks in advance to all, and very best wishes!

    rf4c wrote:
    Hi and best wishes to all.
    I could really use some advice on the following.
    I must admit to a little difficulty trying to manage both devices in iTunes, but I'm also willing to admit that if I found the time to read the manuals, I'd probably get it right!
    Reading manuals is so 20th century. Instead watch this helpful video, courtesy of The New York Times: Yo Jude: Many iPods; One Computer.
    The question of mirroring the library on multiple machines is quite a bit more complicated. Take a look at this support article: iTunes 9: Understanding Home Sharing.

  • Need help regarding af:table ADF component.

    Hello,
    I am using a af:table component to display some data. I have binded the value attribute to an arraylist, whose each element is an object with four variables.
    Now in the backing bean, i am trying to use this, CollectionModel collModel = (CollectionModel)mTable.getValue(); here mTable is the RichTable to which i have done the binding of the table.
    The code throws an exception saying that java.util.ArrayList cannot be cast to CollectionModel.
    Please help me, how to resolve the issue, is this arising because i provided an arraylist to the value attribute of the table? How should i convert the arraylist to a CollectionModel.
    Urgent help needed.
    Thanks
    Ankush Gupta

    Hello,
    public void goNext(ActionEvent actionEvent) {
    CollectionModel collectionModel = (CollectionModel)mTable.getValue(); // Replcae it with as you suggested ArrayList collectionModel = (ArrayList)mTable.getValue();
    JUCtrlHierBinding tableBinding = null;
    tableBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
    DCIteratorBinding iteratorBinding = tableBinding.getDCIteratorBinding();
    int rowNumber = 0;
    ArrayList list = new ArrayList(getUpdatedLines());
    rowNumber = Integer.parseInt(list.remove(0).toString());
    setUpdatedLines(list);
    iteratorBinding.setRangeStart(rowNumber-1);
    Row currentRow = iteratorBinding.getRowAtRangeIndex(0);
    Key rowKey = currentRow.getKey();
    ArrayList tableRowKey = new ArrayList();
    tableRowKey.add(rowKey);
    RowKeySetImpl rks = new RowKeySetImpl();
    rks.add(tableRowKey);
    mTable.setSelectedRowKeys(rks);
    AdfFacesContext.getCurrentInstance().addPartialTarget(mTable);
    But my problem is i need a collectionModel to work further. How can i do that?
    The working of this code is that I have binded a table to mTable, now with some logic i have the list of some specific rows number, which will be used for my navigation (navigation refers to that on clicking the button binded to this goNext func, it will go the first row in the list which i have and so on on the click of button).
    Thanks
    Ankush Gupta

  • Need help with a Table with one image in it.

    I am attempting to design a site in Dreamweaver CS 4, I have Master Suite.  I would like to use a header Logo already created in photoshop and made web ready in .jpg format.
    I  am looking at inserting a single cell table across the top of page set at a percentage so it appears uniform on more browsers.
    The only problem is that there is no way to make (link) the picture to the tables scalibility feature. The table scales up or down, but
    the picture remains the set size of the image.
    Do I need to attempt to create this some other way?
    I like the essence of the above, I created it in Flash and would like to use it or something close in the design and creation of my web site.
    A Veteran, Thank You for any help or suggestions.      Ken

    Images are static.  They don't resize.
    Put image in a table cell or CSS division with a compatible Background-Color to fill in the empty regions on super wide displays.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Need help with creating table that automatically inserts rows depending on the amount of data

    Hi there,
    I'm trying to create a table for supervisors to enter in their subordinates information and will automatically insert rows for supervisors with multiple subordinates.  This form will not be connected to a data source, the supervisors will simply fill in the form and print out.  I want it to kind of look like this:
    Name
    Position #
    Classification
    Hours
    I really appreciate any help.  Thanks!

    Hi Niall,
    You figured it out!  I didn't have javascript turned on.  Now it is working perfectly.  I think this will help me tremendously.  Thanks so much for your help!!!!!
    Laura

  • Need help in creating table in crystal report for visual studio 2010

    Since there is no table support in crystal report,how can I create a table in crystal report for visual studio 2010?
    I have a datatable and I need to show that in crystal report in table structure.
    I have tried using lines and boxes to generate the table but it is not working perfectly.
    How can I export the report in excel format in read/write mode saving all the formatting in the report

    Hi,
    Check sample codes from following:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    You can download the [Developer's Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] & [API Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Saurabh

Maybe you are looking for