Export Losing Data

I have a very strange problem that I cannot explain or find any answers for.  I upgraded to Crystal V2008 last week, and I've been running through all the reports in an application to make sure everything is working properly.  Here's an example:
1)  I create a report and assign the ReportDocument to the Crystal Viewer.  When I do this, the report is 118 pages long and all the data is properly presented.  The report is correct.
2)  If I do the exact same thing, but instead of assigning it to the viewer, I export the ReportDocument to a file (as a PDF), the resulting report is 61 pages long, and a whole lot of data is missing.
3)  I thought I might be doing something wrong in the export.  So, I created a test using the same forms.  The test allows me to get the ReportDocument and process it after it is created. 
a)  If I assign the Report Document to the Viewer and then trigger the export through a separate event, the report exports properly.  Both the viewer and the export file are correct.
b)  If I skip the step to assign the ReportDocument to the viewer, the report only generates the 61 pages and is not correct.
c)  If I assign the report to the viewer and go directly to the export without an interveining event, the report only has 61 pages in the export file and in the viewer.  Both are incorrect.
d)  If I assign the report to the viewer, refresh the viewer and force the application to perform any outstanding events, the report in the viewer and in the export file is correct with all 118 pages.
I cannot explain this, and it is a problem.  We run these reports both from a Windows and Web interface.  It is possible I guess to always assign the Windows reports to the viewer before exporting, but for the web based reports that are always sent as a mail attchment, this is going to be an issue.
Any help or suggestions would be appreciated.

Are you changing datasources at runtime? 
Yes.  I am running a query to retreive data from the database using a view.  Then I assign the dataset to the report using the ReportDocument.SetDataSource(dataset) method.
Can you provide the code used?
What database is this and what connection method are you using?
Sql Server.  Using OleDB (ADO)
What is the exact version of CR (Help | About)
12.3.0.601
Version of .NET?
Visual studio 9.0.30729.1
,Net Framework 3.5 SP1
Are you populating / changing the data in the database just before running the report?
No.  In fact once I retreive the data and assign it to the report object, nothing changes. 
Export the report to rpt. Open it in the designer and look at the SQL query. Is it different?
I exported the report to a .rpt file.  It would not open in the designer.  It simply says it could not be opened.  It did export to Adobe and Excel, albeit with incomplete data.

Similar Messages

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

  • When I tried to Mail Merge for Data is is not exporting any data.

    HI,
    EBS-12.1.3
    DB-11gR1
    OS - RHEL 5.6
    [With my Login User and SysAdmin Login User] When I enter into to the "People -> Enter and Maintain" Form and then I press the "Export Button", there is error Alert
    Function is not available to this responsibility. Change Responsibilities or Connect to the System Administrator
    I Added the Function "HR ADI Seeded Integrator Form Functions" into the "AE HRMS Manager" Responsiblity. It is also working and Export Data icon is enable.
    Problem:
    But Problem is when I tried to Mail Merge for Data is is not exporting any data.
    ====================================================================
    Steps
    1.Move to the "People -> Recruirment" and then "Request Recruitment Letter" .
    2. Enter the New Request. as
    Letter Name "App. Letter Contract Site",
    Automatic or Manual = Manual.
    Select the Name from the LOVs for the Request for Detail Block.
    3. Press the "Export Data" icon.
    4. Integrator Page Appear with my Custom Integrator Name as "Appointment Letter - Contact Site".
    5. Select the "Word 2003" from the View List. and Reporting is Checked.
    6. Review the Folowing Enteries as:
    Integrator Appointment Letter - Contact Site
    Viewer Word 2003
    Reporting Yes
    Layout App. Letter Contract Site
    Content XXHR_MBE_APP_LET_CONT_SITE_V
    Session Date 2011/08/02
    Mapping XXHR_MBE_APP_LET_CONT_SITE_V Mapping
    7. Press "Create Document" Button.
    8. It will open the Excel 2003 and then Word 2003. But no data down download from the Form.
    9. It open the Mail Merge Letter but no Data is Display.
    ===========================================================
    Note:
    a. I am following the Steps from the Link:"http://apps2fusion.com/at/38-ss/351-generate-recruitment-letters-web-adi".
    b. From the "Desktop Integrator Manager", "Oracle Web ADI", "HRMS Web ADI", it is working fine and Dowload the Data.
    ===========================================================
    Thanks
    Vishwa

    Please try the solution in ("Function not available to this responsibility" Error While Cliclking On Forms Personalisation [ID 1263970.1]) and see if it helps.
    Thanks,
    Hussein

  • Reg: Exporting the data into excel in ADF 11g application.

    Hi All,
    We have developed an application in ADF 11g which retrieves the data from database in the form of table. Now we have a requirement to export that data into an excel sheet.
    Can anyone please help us regarding this.
    Thanks,
    Harsha

    Hi Harsha,
    you can use <af:exportCollectionActionListener /> component to do that. Set the exportedId property to point to of the table. You have options to export all rows or only selected rows.
    <af:commandToolbarButton text="Export All Rows to Excel" immediate="true"
                                                   id="exportAll">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
                                                     filename="export.xls"
                                                     title="ADF Faces Export - All" exportedRows="all"/>
    </af:commandToolbarButton>
    <af:commandToolbarButton text="Export Selected Rows to Excel" immediate="true"
                                            id="exportSelected">
    <af:exportCollectionActionListener type="excelHTML" exportedId="table"
                                                     filename="export.xls"
                                                     title="ADF Faces Export - Selected Rows"
                                                      exportedRows="selected"/>
    </af:commandToolbarButton>Good Luck,
    Luc Bors

  • Questions on Subviews and Import/Export in Data Modeler v3 EA1.

    I have a few questions about the capabilities of Data Modeler v3 EA1:
    1) Is it possible to rename subviews? Would like more meaningful names then Relational_x - Subview_x.
    2) Is it possible to save documents at subview level?
    3) Is it possible to import/export subsets of data?
    4) Having problems importing Erwin 7 .xml file, is there known problems with this import?
    Judy

    Hi Judy,
    1) To rename a subview just right click on it in the browser tree and select "Properties". In the properties dialog change the name and click OK button.
    2) You can save a subview as new Data Modeler design - from the File menu select Export -> To Data Modeling Design. In the newly opened dialog select the subview you want to export and click OK button.
    3) After saving a subview as new design (see answer #2) it can be imported in some other design (File -> Import -> Data Modeler Design).
    4) What kind of problems do you have with import of Erwin 7.* xml file?
    Regards,
    Ivan

  • How to reset without losing data?

    LS,
    Is there a way to reset my iPhone (through itunes or other) that will prevent me from losing data? 
    Situation:
    I have an iPhone 3G with ios4. Saturday night my phone acted weird, it would lock the screen every few seconds without me promting it (automatic screen lock is off).
    To reset the phone I pressed the home button and the on/off button simultamiously. Instead of simply resetting it stuck on the Aplle logo.
    Trying to get it going again, it went out.
    Since than whenever I try to switch the phone on, it asks for a reset through iTunes (picture of usb + itunes in screen).
    Since I have not been able to synchronise the phone for a few weeks, I was wondering if there is a workaround to prevend loss of data (for instance the recent photo's).
    I sincerely hope there is a workaround.
    Cheers

    Well, if you have a backup, that will save your text messages, settings, camera roll etc.
    Not the music, photos, videos, contact etc.
    So there is a way to restore without losing most of the important information. Since the music, videos and others are theoetically on your Mac/PC.

  • HT204053 I have one icloud id on my mac and want to share with an ipad with a different icloud id.  if I create a new id for both of us will this work?  My concern is losing data on either device.

    I have one icloud id on my mac and want to share photos, calendars, etc with an ipad with a different icloud id.  if I create a new id for both of us will this work?  My concern is losing data on either device. (the mac book pro is new, but has all of the retrieved data from my previous mac book pro)

    You will lose data from whichever was the 2nd to last to sync .
    Don't do it.

  • I need to be able to export the data from health kit and read it in something.  Anything.

    I've tried pretty much everything from Excel to downloaded and online apps.  I'm done downloading crap to my brand new computer.  My problem is that I need to be able to export the data into a readable format so that I can give it to my dr(s).  Is there ANY WAY that this is possible?  I'm kind of at my wits end here.  All help/suggestions are appreciated.
    What I've done:
    1.  Exported data.  It creates an xml file that can be opened in excel but gives raw data that no one but egghead developers can read (and I use that term in the best possible way.)
    2. Tried to download an excel add on.  Didn't work.
    3.  Tried several online applications.  Same result as Excel.
    Somehow this data has to be able to be read by someone other than myself, on my phone.
    Thanks to one and all for the many, many suggestions that I'm about to get.

    sam.loomis1234
    The only way out of Premiere Elements 11 is via export in video format (except for jpegs or audio under Publish+Share/Computer/Image or audio).
    The video is whole, not in a project file (project.prel).
    And, the Premiere Elements 11 project.prel does not appear to be an After Effects supported project format
    http://helpx.adobe.com/after-effects/kb/supported-file-formats-effects-cs4.html#main_head1
    Have you asked this question in the Adobe After Effects Forum regarding supported formats?
    http://forums.adobe.com/community/aftereffects_general_discussion
    ATR

  • How can we export table data to a CSV file??

    Hi,
    I have the following requirement. Initially business agreed upon, exporting the table data to Excel file. But now, they would like to export the table data to a CSV file, which is not being supported by af:exportCollectionActionListener component.
    Because, when i opened the exported CSV file, i can see the exported data sorrounded with HTML tags. Hence the issue.
    Does someone has any solution for this ... Like, how can we export the table data to csv format. And it should work similar to exporting the data to excel sheet.
    For youre reference here is the code which i have used to export the table data..
    ><f:facet name="menus">
    ><af:menu text="Menu" id="m1">
    ><af:commandMenuItem text="Print" id="cmi1">
    ><af:exportCollectionActionListener exportedId="t1"
    >title="CommunicationDistributionList"
    >filename="CommunicationDistributionList"
    >type="excelHTML"/> ---- I tried with removing value for this attribute. With no value, it did not worked at all.
    ></af:commandMenuItem>
    ></af:menu>
    ></f:facet>
    Thanks & Regards,
    Kiran Konjeti

    Hi Alex,
    I have already visited that POST and it works only in 10g. Not in 11g.
    I got the solution for this. The solution is :
    Use the following code in jsff
    ==================
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="text/csv; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    OR
    <af:commandButton text="Export Data" id="ctb1">><af:fileDownloadActionListener contentType="application/vnd.ms-excel; charset=utf-8"
    >filename="test.csv"
    >method="#{pageFlowScope.pageFlowScopeDemoAppMB.test}"/>
    ></af:commandButton>
    And place this code in ManagedBean
    ======================
    > public void test(FacesContext facesContext, OutputStream outputStream) throws IOException {
    > DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    >DCIteratorBinding itrBinding = (DCIteratorBinding)dcBindings.get("fetchDataIterator");
    >tableRows = itrBinding.getAllRowsInRange();
    preparaing column headers
    >PrintWriter out = new PrintWriter(outputStream);
    >out.print(" ID");
    >out.print(",");
    >out.print("Name");
    >out.print(",");
    >out.print("Designation");
    >out.print(",");
    >out.print("Salary");
    >out.println();
    preparing column data
    > for(Row row : tableRows){
    >DCDataRow dataRow = (DCDataRow)row;
    > DataLoaderDTO dto = (DataLoaderDTO)dataRow.getDataProvider();
    >out.print(dto.getId());
    >out.print(",");
    >out.print(dto.getName());
    >out.print(",");
    >out.print(dto.getDesgntn());
    >out.print(",");
    >out.print(dto.getSalary());
    >out.println();
    >}
    >out.flush();
    >out.close();
    > }
    And do the following settings(*OPTIONAL*) for your browser - Only in case, if the file is being blocked by IE
    ==================================================================
    http://ais-ss.usc.edu/helpdoc/main/browser/bris004b.html
    This resolves implementation of exporting table data to CSV file in 11g.
    Thanks & Regards,
    Kiran Konjeti

  • How can I export my data to a 3D-CAD IGES-File?

    Is it posible to export my data from an array to an IGES-File? I want to show my Data in an Unix-Catia 4.2.2 System.

    > Is it posible to export my data from an array to an IGES-File? I want
    > to show my Data in an Unix-Catia 4.2.2 System.
    do you really need IGES ? if you are happy enough with polygons I recommend
    the STL format whihc is much simpler.
    How is your data "array" organized ? If you have only points, you'll need to
    mesh them first. Have a look to http://www.dynabits.com/sw/point_cloud.htm
    for a free software that does it.
    If you already have a triangular mesh, I suggest STL format instead of IGES.
    If you have 3D surfaces, I was considering doing this one of these days.
    I can help you on this, for free if it remains simple and general purpose...
    Philippe Guglielmetti - www.dynabits.com

  • Is it possible to resize the partitions without losing data?

    I have following issue:
    I have dual-boot Arch with Windows XP. I created 4 partitions: 40GB XP's system disk (ntfs), 80GB ntfs data disk, 1GB swap and 25GB Linux partition.
    But I am running XP so rarely, that it is frustrating, that I have most of my data on ntfs partition... I'd like to wipe out that 80GB ntfs, resize the system ntfs partition up to for example 60GB, and add the remaining 60GB to my linux ext3 partition (because I'm running out of free space recently...).
    Has anyone done something like this, and how safe it is (if possible at all)
    Yes, I have read this: http://wiki.archlinux.org/index.php/Res … _partition, and a few more.
    I just don't have time to reinstall both systems (especially I would not like to install Windows, because I'd rather install Vista from my recovery disk, than hack the XP to work again...), and if some issues are likely to appear, then I'll give it up for now .

    It's trivial using gparted, but as with any similar operation, you run the risk of losing data - so you'd better backup.

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • Export is not exporting the data from Page. It always gets the data from VO

    Hi,
    I have got a critical issue, where I am Not able to export the current data from the page.
    I have an export button and the VO is attached to it.
    1) My page will execute the VO and I do some calculations to remove some rows, add the grand total etc.
    2) The export button just re-executes the query and exports, which is not that, I want. I would like to export the current contents of the VO, which I manipulate and it is shown on the page.
    To give an example -
    My VO query is executed, when I click the Report button. I then adds Grand Total row to the VO and it gets displayed on the Page also.
    Now, when I click the export button, it just exports the data which is coming from the VO SQL query, whereas I want the data from current state of VO i.e. with the grand total, which I added and is coming on the page also.
    I will be really grateful, if someone can help me with this as it is really urgent.
    Thanks for your help.
    Shiju

    Hi Shiju,
    Is the export to csv opening fine with the data showing in individual columns when opening from internet explorer. What version of IE are you using? For us the export works fine from Firefox but does not work well in IE. From IE, the data shows with the commas in a single string. Appreciate your response as it will help us understand if our issue is local to our environment.
    Thanks.

  • How to export the data from table to excel sheet

    hi experts i have some problem am trying to export the data fro table to Excel sheet  in the view controller i have created one button wit public void onActionCLEAR(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionCLEAR(ServerEvent)
       //wdContext.nodeBapi_Salesorder_Getlist_Input().
       //wdContext.nodeBapi_Salesorder_Getlist_Input().invalidate();
        //@@end
      //@@begin javadoc:onActionExporToExcel(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionExporToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExporToExcel(ServerEvent)
         try{
         FileOutputStream fos=new FileOutputStream("Test.xls");
          PrintStream ps=new PrintStream(fos);
          ps.println("<html><body><table border=1>");
          int size=wdContext.nodeBapi_Salesorder_Getlist_Input().size();
           Iterator attributes=wdContext.getNodeInfo().iterateAttributes();
           ps.println("<tr>");
           while(attributes.hasNext()){
            ps.println("<th>");
            DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
            ps.println(attrName.getName());
            ps.println("</th>");
           ps.println("</tr>");
          for(int i=0; i<wdContext.nodeBapi_Salesorder_Getlist_Input().size();i++)
            attributes=wdContext.getNodeInfo().iterateAttributes();
            ps.println("<tr>");
            IWDNodeElement ele=wdContext.getElementAt(i);
            while(attributes.hasNext()){
              ps.println("<td>");
              DataAttributeInfo attrName=(DataAttributeInfo)attributes.next();
              ps.println(""+ele.getAttributeAsText(attrName.getName()));
              ps.println("</td>");
            ps.println("</tr>");
           ps.println("</table></body></html>");
           ps.flush();
           ps.close();
           fos.close();
          catch(Exception e){
           wdComponentAPI.getMessageManager().reportException(e.getMessage(), false);
          finally{
         //return("Test.xls")  ;
        //@@end
      }h action and i have return the code
    its running sucessfully but am not able to perform the action plz help me

    Hi,
    You shouldn't use DataAttributeInfo as it is an internal object, if I'm correct.
    Use IWDAttributeInfo instead of DataAttributeInfo and it should work
    (See also API doc of IWDNodeInfo.iterateAttributes() at http://help.sap.com/javadocs/nwce/ce711sp02/wdr/com.sap.wdr/com/sap/tc/webdynpro/progmodel/api/IWDNodeInfo.html#iterateAttributes())
    Cheers,
    Robin

  • Problem while exporting the data from a report to an excel file.

    Hi SAP guru's,
    I have a problem while exporting the data from a report to an excel file.
    The problem is that after exporting, the excel file seems to have some irrelevant characters....I am checking this using SOST transaction..
    Required text (Russian):
    Операции по счету                                    
    № документа     Тип документа     № учетной записи     Дата документа     Валюта     Сумма, вкл. НДС     Срок оплаты     Описание документа
    Current Text :
       ? 5 @ 0 F 8 8  ? >  A G 5 B C                                   
    !   4 > : C       "" 8 ?  4 > : C      !   C G 5 B = > 9  7 0 ? 8 A 8        0 B 0  4 > : C         0 ; N B 0      ! C <       ! @ > :  > ? ; 0 B K        ? 8 A 0 = 8 5  4 > : C
    Can you help me making configuration settings if any?
    Regards,
    Avinash Raju

    Hi Avinash
    To download  such characteres you need to adjust code page to be used during export. You can review SAP note 73606 to identify which code page is required for this language
    Best regards

Maybe you are looking for

  • Save as dialog box hides behind the dock

    Ever since upgrading to Yosemite, the 'save as' dialog box will partly hide behind the dock. I can't see the 'save' nor the 'cancel' button. Now I don't want the dock to auto hide, nor do I want to make it so small I can hardly see the icons, because

  • Premiere CC 2014 not recognizing Camera Raw edits on CinemaDNG footage

    I'm using Camera Raw (through Adobe Bridge) to correct my CinemaDNG footage. When I import the footage into Premiere none of the adjustments I've made in Camera Raw appear on the footage. Pretty frustrating as Camera Raw is an incredible tool and I'd

  • How do I know whether the USB port in my macbook air is 2.0 or 3.0?

    How do I know whether the USB port in my macbook air is 2.0 or 3.0? I really want to use a usb flash drive that has faster read/write speed but I don't kow if it would be supported by my macbook air - I purchased the macbook air from the apple store

  • I launch iPhoto and it "Appears Corrupt"

    For a while now every time I launch iPhoto I get a message that it appears corrupt and it checks the database before I use it. All functions work great once it does its checking, but the next time I launch iPhoto I have to go through the same thing.

  • Error in assigning pricing condition in condition generation

    Hello, As a part of configuration, I have to define one pricing condition in CRM with Usage - PR Calculation type - B - Fixed amount which I defined in SPRO-CRM-BASIC FUNCTIONS-PRICING -DEFINE SETTINGS FOR PRICING- CREATE CONDITION TYPE for trade pro