Crystal Report Loading blank

Hi
Am using crystal report in visual studio 05.I have some prblm with it.I have created a dataset(.xsd file)and using it in report file.
but while loading the report it load as blank.sometimes it wil ask for login information.I have pasted the code below.
System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection(ConfigurationManager.AppSettings["SqlConnectionString"]);
        System.Data.SqlClient.SqlDataAdapter adpt = new System.Data.SqlClient.SqlDataAdapter("Select E.EmpName,n.NoOfLeaves from employeemaster e, leaveentry n where e.empid=n.empid and n.empid=2", conn);
        DataSet dataSet = new DataSet();
        adpt.Fill(dataSet);
        ReportDocument mydoc = new ReportDocument();
        string reportPath = Server.MapPath("CrystalReport.rpt");
        mydoc.Load(reportPath);
        for (int i = 0; i < mydoc.Database.Tables.Count; i++)
            mydoc.Database.Tables<i>.SetDataSource(dataSet.Tables);
        CrystalReportViewer1.ReportSource = mydoc;
PLease anyone help me.
Thanks in advance
Edited by: ZINKII on Apr 29, 2009 1:09 PM

Hi,
First make sure that you have not saved data with the report. Open the report and unchecked the small check box on the left top corner. Save it.
Make sure that dataset is not empty.
Try with this code sample which works for me:
OleDbConnection conn = new OleDbConnection("Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Password=sa;Initial Catalog=Northwind;Data Source=Server");
OleDbDataAdapter adpt=new OleDbDataAdapter("Select Orders.CustomerID,Orders.EmployeeId,Orders.OrderID,Orders.OrderDate,[order details].productid,[Order Details].UnitPrice,[Order Details].Quantity from [Order Details], Orders Where [Order Details].OrderID = Orders.OrderID",conn);
DataSet ds= new DataSet();
adpt.Fill(ds);
// USE THIS TO GET THE XML FILE TO CHECK FOR DATA AND Dataset SchemaContents
//ds.WriteXml("c:\\temp\\myData1.xml",XmlWriteMode.WriteSchema);
ReportDocument rd = new ReportDocument();
rd.Load("c:\\temp\\ADOReport.rpt");
rd.SetDataSource(ds);
CrystalReportViewer1.ReportSource=rd;
Helps?
Regards,
AG.

Similar Messages

  • Crystal Reports 2008 - Blank page on server only

    Crystal Reports 2008 - Blank page on server only
    My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.
    I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.
    Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.
    I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.
    The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.
    Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.
    The report is constructed of the following sections:
    -Page Header (suppressed on page 1)
    -Grp1 header A (watermark conditionally suppressed based upon a parameter)
    -Grp1 header B (Keep together - always fits onto a single page)
    -Details
    -Grp1 footer A (Keep together)
    -Grp1 footer B (Conditionally suppressed based upon data)
    -Grp1 footer C (Keep together)
    -Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))
    -Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Report footer (Always blank. Suppress blank section)
    -Page footer (Fixed static content, displayed on every page.)
    Edited by: alibaabaa on Oct 12, 2009 12:41 PM
    Edited by: alibaabaa on Oct 12, 2009 12:45 PM

    Thanks for responding, Jonathan.
    Is the same runtime installed on the 64 bit system? I notice from your version number that you do not have any service packs installed on the dev system. SP 2 is out and may help.
    I have installed SP1 and SP2 this morning, resaved the report file and tried again but the same problem remains.
    I'm not sure how to answer your runtime question. I am using the same application built with the same merge modules on both the dev machine and the production server. Of course, the dev machine has the additional complication of having Crystal Reports 2008 installed. Perhaps this is causing the difference?
    Compare the printer settings between the two systems. Try installing the same printer driver on the 64 bit system.
    Perhaps I am misinterpreting your suggestion, but I am not printing the invoices. I am only exporting them to PDF. It is the PDF that has the extra page. Is there a 'print to PDF' driver of some sort that I need?
    Also, was the .NET application compiled as 32 bit, or Any CPU? Whichever it was, try switching it then recompiling to see if that helps.
    I tried switching to Any CPU but this caused the Crystal Reports module not to load at all on the 64bit Windows server.
    Thank you for your suggestions, but my problem remains. Is it worth trying with the redistributable msi rather than using the merge modules? If so, could you recommend which one I should use? I am using Visual Studio 2008 Professional.

  • Crystal Reports Load report failed

    Hi all,
    Using VS2008. Crystal Reports 2008.
    I have a .net application which uses LINQ. I am required to integrate existing Crystal reports into the web site.
    In my web config file i have my connection string set up
    <add name="connection Name" connectionString="Data Source=ServerName;Initial Catalog=database;uid=username;password=Password;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
    and also I have set the authentication as follows:
    <authentication mode="Windows"/>
        <identity impersonate="true" userName="username" password="password"/>
    I need the impersonation for when I deploy my app to the server.
    The crystal report uses an existing connection set up when the report was created. So this is not tied to a LINQ table (i think this may be the problem).
    I have no clue how to progress from here. When I try to change the datasource location to the LINQ table within the application, it won't map properly as the table contains nullable values.
    Any ideas would be greatly appreciated.
    Louise

    Hi,
    That particular problem with 'Load Report Failed' was happening because the identity impersonation account I had set up did not have rights to my TEMP folder on my machine. Crystal needs to be able to read and write to that folder.
    I hope that helps you.
    Louise

  • Crystal Report Load error

    Experts,
    I am getting the following error, while clicking on a button to load crystal report.
    Could not load file or assembly
    'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0,
    Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its
    dependencies. The system cannot find the file specified.
    I am running it through ard at client server, In my own machine it is running fine.
    I have tried installing Crystal Report basic run time for VS 2008, still same. Please help.

    Any suggestions Experts?

  • Crystal Reports Loading Issue

    Hello all - any thoughts on this would be appreciated.
    I have loaded Crystal reports designer onto 3 users machines and am unable to export any reports to pdf.  There is a Salesforce.com fix pack that I have loaded for my version of crystal designer, but I am unable to load it on these useru2019s machines.  They get an error message saying that they are running an older version of Crystal Designer and it cancels the download.  Is there a new fixpack out there for Salesforce or any known issues with connections?
    Thank you.

    It would be handy to know what version of Crystal Reports you are using? Click on Help About... for the info
    Thank you
    Don

  • Problem with Crystal Report Loading

    Hi,
    I have built a windows application in VS2010. there I have used dataset to load data into crystal report. but wheever the application is trying to load report it is giving the following error:
    "Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified."
    Message was edited by: Ludek Uher
    As per the Rules of Engagement - no need to bold face, no need to use large chars, no need to color...

    Following is the event logger:
    Log Name:      Application
    Source:        Crystal Reports
    Date:          01/08/2014 14:34:44
    Event ID:      4353
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      dev4
    Description:
    The description for Event ID 4353 from source Crystal Reports cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
    the message resource is present but the message is not found in the string/message table
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Crystal Reports" />
        <EventID Qualifiers="0">4353</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-08-01T09:04:44.000000000Z" />
        <EventRecordID>20760</EventRecordID>
        <Channel>Application</Channel>
        <Computer>dev4</Computer>
        <Security />
      </System>
      <EventData>
        <Data>The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
    </Data>
      </EventData>
    </Event>

  • Crystal Report Produces Blank Report

    I am modifying the Maintenance Management Work Order Print App Engine program, WM_WM10001_R, to single thread work orders and submitting the Crystal Report, WM10001, via PeopleCode.
    I update the delivered process defintion to use my state record to pass the processing parms.
    Then I have a Do Select SQL to select the Work Order numbers.
    I am inserting the Work Order data via SQLEXEC, commit the work, build the process request and submit, then wait until the report is done before processing the next work order.
    My report is empty. I can run the report outside of PeopleSoft and the report runs fine.
    Out of 9 Crystal processes submitted, 6 are empty, 3 failed with the error "Not enough bind values: 3 is/are required but 0 was/were supplied. "
    We are on Crystal Reports 2008, PeopleTools 8.50.07, FSCM 9.1 running on Windows with an Oracle 11g R2 database.

    Hardcoded run control parameters on process definition using sql action. Apparently, Crystal can't read values from App Engine state record.

  • Crystal Reports loading Failed in 64 bit OS after installing SAP Runtime

    Dear All,
         I am using a VB.NET application and the reports are designed using Crystal Reports version 9. All the reports are working fine in 32 bit OS. After the application is deployed in the 64 bit machine, while connecting from the crystal report using my vb.net application the database login screen is asking. After entering the login password login exception shows from the viewer.please check the attachments to find the errors. The details of my application are given below:-
    OS- Windows server 2008 R2 standard 64 bit
    Database - Oracle 11g client for 64 bit
    Application is designed using VB.NET(Frame Work 4 & visual studio 2010)  and the crystal report is designed using CR version 9
    Run time installed:- CRRuntime_64bit_13_0_8
    With Advanced thanks,
      Shalu.

    How are you connecting to the database - ODBC? OLEDB? Etc.?
    Have a look at the resources that the search string 'oracle 64 net crystal' bring up for you. Search box is in top right corner.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Preview Form Shows during Crystal Report Loading Process

    Hi,
    I have a slight issue on the behaviour of my application of how the report is loaded to the user.
    Within my application, I have a button that when pressed - shows the print preview form with the report displayed.
    The issue I am having - is that in some scenarios - preview form is visible to the user - along with a black screen (presuming a large dataset is being called and rendered) and THEN the report will appear
    Code - appears in sub-routine called RunReport
               'Set up the printer
                Call SetReportPrinter()
                'Log into the report
                Call LogonReport(mReportDocument, crConnectionInfo)
                'Apply Parameters to the report
                Call SetReportParameters()
                CRViewer1.ReportSource = mReportDocument
                Me.Show() ' where the form is presented to the user on screen
    Is it possible for me to show the preview form to the user - with all results loaded and ready to be displayed - so there is no delay in presenting the results to the user.
    pryeshg

    This is a known issue, track number 5000005116. Last communication with R&D re. this issue was June 5th and they are still working on a resolution. Latest service packs appear to improve the behavior, but does not resolve the issue as such. Try SP 5 from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100013876392008E/crxir2win_sp5.exe
    Another possible work-around may be to export the report to rpt file format programmatically behind the scene (e.g.; would not see this), then view this exported report. It should display quickly as the report will be processed and with saved data.
    Ludek

  • Deploying Crystal Reports with IIS - Load Report Failed

    Post Author: jeremyrarextreme
    CA Forum: Deployment
    Hi
    We have installed Crystal Reports Developer XI release 2 with Visual Studio 2005 to implement a very simple app that allows a crystal report to be loaded via the web. This works perfectly fine when I publish my build from Visual Studio 2005 (using the built in cystal controls) and go view in browser.
    Everything looks fine when I run the app from Visual Studio by clicking view in browser - the crystal report loads and everything is how it should be.
    When I publish the build on our production server (a Windows 2003 server running IIS6) I get the error: Load Report Failed
    A full detailing of this error can be found on this forum post: http://aspadvice.com/blogs/rjdudley/archive/2005/05/18/2591.aspx
    where many other people are having the same issue.
    I have struggled for a very long time to find a solution to this, how do I resolve this issue?
    when I try to view the .net 2.0 project from a browser running through IIS It displays the business objects toolbar but returns the error: Load Report Failed
    When I run this in my development environment directly from Visual Studio 2005 it works perfectly fine and loads the report.
    The report path is perfectly fine and correct, we have permissions on all folders for read, write and execute for both general user / admin accounts and IIS accounts on the Windows 2003 Server.
    We also have full permissions on c:/temp and c:/windows/temp
    What else can I do to make this work!
    Many thanks and awaiting your reply

    Post Author: mikeeby
    CA Forum: Deployment
    Yes I too have been fighting this problem. I was using a XML Data file and schema file for my u201Cdatabase templateu201D in the report. I would then run my query using the .NET SQLClient then fill the report with my dataset table using the SetDataSource method from the ReportDocument object.
    I tried both embedded and runtime loaded reports all worked fine on my development machine but would NOT work on my production server. I use all the server installs, played with user rights, registering DLLu2019s still nothing.  I went as far as creating a winform app to fix the problem. I then had exactly the same problem, I was catching the error and it originated from the viewer control in both winform and webforms.
    What finally worked for me was to attach to the database using OLE DB instead of XML/schema (xml/xsd) datasource then pasting my SQL Query into the database connection command this gave me the fields to build the report. I actually used the u201CSet Database Locationu201D Dialog in Crystal Reports so I didnu2019t have to redesign my report. This dialog works very weird but I managed to figure it out. I then used an embedded report and all seem to be well. I think there is a problem with the Crystal Reports .NET Server Install and Merge Modules used with .NET with XML files, but I cannot be sure, all I know is this worked for me.
    I am concerned that if my database server is moved or renamed my report might break because the server connection is embedded in the report, but for right now it is working. I thought that was the reason for using the xsd file was to eliminate the dependence on a server connection in the report.
    Good luck and I hope this helps you fix your problem too. If it does please let me know I have see so many reports of people asking questions about this problem and it seems like most are left hanging.
    Mike

  • Reproducible error when loading many reports (Load report failed - Not enough memory for operation)

    Environment:
    Win 7 SP 1
    Visual Studio Pro 2012 Update 4
    Crystal Reports for Visual Studios Service Pack 10 (13.0.10.1385)
    Report created in Crystal Reports XI Release 2 (11.5.8.826)
    Targeting x86 .NET 4.0
    Scenario:
    We have a program that runs and creates a large number of reports before the process is ended. When running after many hours we'd get a Load report failed/Not enough memory of operation exception. I kept removing code and found i could reproduce just using the report.Load call. I simplified the report to a completely blank report to make sure it was nothing specific to a report I was loading. (Opened Crystal Reports XI Release 2, Save As, "Blank.rpt".). I then created, loaded, and disposed of this report in a loop. I was able to cause the same exception after 32,764 iterations on my machine. I also tried using .NET 3.5 same result. I added a counter to our main program and it also went through 32,764 report loads before the same exception was thrown. Main program uses 15 or so different reports with a variable number of subreports in each.
    Sample Code to illustrate the problem:
    I did this as a WinForms project since our main program is using winforms.
    References added:
    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.ReportSource
    CrystalDecisions.Shared
    CrystalDecisions.Windows.Forms
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class Form1 : Form
            public Form1()
                InitializeComponent();
                int i = 0;
                try
                    while (true)
                        i++;
                        ReportDocument report = new ReportDocument();
                        report.Load("Blank.rpt");
                        report.Close();
                        report.Dispose();
                catch(Exception ex)
                    MessageBox.Show(i.ToString() + ex.Message);
    Exception:
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80041004):
    Not enough memory for operation.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at CrystalTest.Form1..ctor() in c:\Test Projects\CrystalTest\CrystalTest\Form1.cs:line 27

    int = Int32. No it's not the "counter" that's causing the problem. The max size of an int32 is far far larger than 32764.
    I am disposing and cleaning up the datasets in the main app. That is why I didn't include them in this test; they aren't relevant.
    I'm unsure why this test program is completely irrelevant. It throws the same exception, at the same count, as the main program. It does it in substantially less lines of code than our main program. I spent days running long tests to figure out exactly what I needed to make the problem appear so I could post a clean and precise post on these forums. I then created the test program to illustrate that.
    The "real" code as I said does stuff in sections and in a certain order.
    For each report I need to export based on rows in a table
    1. Creates a new Report Document
    2. Loads the report document with the report
    3. Creates a dataset of the data to display
    4. Calls SetDataSource
    5. Calls Report.ExportToDisk
    6. Disposes DataSets
    7. Closes/Disposes Reports
    To help isolate the problem I first took out the export to disk part (Step 5). The problem still occurred. I then took out everything related to our data. (Step 3, Step 4, Step 6). The problem still occurred. And yes I commented out this code in our main real program. This left me with:
    1. Creates a new Report Document
    2. Loads the report document with the report
    7. Closes/Disposes Reports
    At this point i had to prove it was not dependent on the report. This makes sure it's not a database connection, or pulling too much data into the report. The most efficient test for this is a blank report.
    So my order of operations becomes...
    1. Creates a new Report Document
    2. Loads the report document with a blank report
    7. Closes/Disposes Reports
    So you'll see this is exactly why I wrote this test the way that I did.
    I've had a run where it error on iteration 32761. My last runs have errored on 32764. I have had many runs over many weeks that all error with the same exception.
    There are no temp files left behind, With a test running you can see the temp files being added but they are immediately removed.

  • Get error when preview marketing documents by using crystal report layout

    Hi experts,
    I want to switch to using Crystal Report for marketing documents layout.  I have import Sales Quotation u2013 Generic (CR) layout which provided by XX-1.2.b1p package. I can preview added records but it doesn't work on drafting documents and saved drafts. The system prompt u201CThe system cannot find the path specifiedu201D and u201CObject reference not set to an instance of an objectu201D. On the same server, it was working fine in our other company database. I don't think this is the problem of database location setting in Crystal Report.  Can anyone give me advices, thanks!
    Regards,
    Ivan

    Hi! Rahul,
    Thank you for your reply first. Your method doesn't work in my case.  Can you tell me the steps of creating a new layout for added records and draft documents.  I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
    1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
    2. Insert "CardName" field to report > Create DocKey@ parameter and  set it equal to DocEntry in select expert record function
    3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
    Regards,
    Ivan

  • Visual basic with crystal report 8.5 error on reporting

    i am dvelping a program base on accounting
    Connection Using ADODB through record set...
    when view the report through compiler using run vb project method the data show is ok but when run application through MDi form the crystal report show blank data...
    my code in mention below
    plz help
    Dim Ac2 As String
    mDATE1 = Format(DTP.Value, "MM/dd/yy")
    mDate2 = Format(DTP1.Value, "MM/dd/yy")
    Ac2 = TxtCode.Text
    Set Rs = New ADODB.Recordset
    Rs.Open "delete * FROM tmp1", Con, adOpenKeyset, adLockPessimistic
    Set Rs1 = New ADODB.Recordset
    Rs1.Open "select  (opdr),(opcr) FROM acoding where acode= '" & TxtCode.Text & "'", Con, adOpenKeyset, adLockPessimistic
    Set Rs2 = New ADODB.Recordset
    Rs2.Open "SELECT Sum(dr)-sum(cr) as opening from ledger where date < # " & mDATE1 & "# and pcode = '" & TxtCode.Text & "'", Con, adOpenKeyset, adLockPessimistic
    Set Rs3 = New ADODB.Recordset
    Rs3.Open "select* FROM ledger WHERE DATE BETWEEN #" & mDATE1 & "# AND # " & mDate2 & " # AND pcode between '" & TxtCode.Text & "' AND '" & Ac2 & "'", Con, adOpenKeyset, adLockPessimistic
    Set Rs = New ADODB.Recordset
    Rs.Open "select * FROM tmp1", Con, adOpenKeyset, adLockPessimistic
        If Rs2.RecordCount <> 0 Then
            DR1 = IIf(IsNull(Rs2!opening), 0, Rs2!opening) + IIf(IsNull(Rs1!OpDR), 0, Rs1!OpDR) - IIf(IsNull(Rs1!OpCR), 0, Rs1!OpCR)
            Rs.AddNew
            Rs!Des = "OPENING BALANCE"
            Rs!pcode = TxtCode.Text
            Rs!DR = IIf(DR1 > 0, DR1, 0)
            Rs!cr = IIf(DR1 < 0, DR1 * -1, 0)
            Rs.Update
        Else
            Rs.AddNew
            Rs!Des = "OPENING BALANCE"
            Rs!pcode = Rs2!pcode
            Rs!DR = IIf(IsNull(Rs1!OpenDR), 0, Rs1!OpenDR)
            Rs!cr = IIf(IsNull(Rs1!OpenCR), 0, Rs1!OpenCR)
            Rs.Update
            End If
    If Rs3.RecordCount > 0 Then
        While Not Rs3.EOF
                Rs.AddNew
                Rs!pcode = Rs3!pcode
                Rs!vtype = Rs3!vtype
                Rs!VNO = Rs3!VNO
                Rs!DR = IIf(IsNull(Rs3!DR), 0, Rs3!DR)
                Rs!cr = IIf(IsNull(Rs3!cr), 0, Rs3!cr)
                Rs!Date = Rs3!Date
                Rs!Des = Rs3!Des
                Rs.Update
        Rs3.MoveNext
        Wend
        End If
    cr.ReportFileName = App.Path & "\reports\latif.rpt"
    cr.WindowState = crptMaximized
    cr.Action = 1
    end sub
    through Debug mod data all data is show but
    when run without debug mod  crystal report show data blank..
    proceed is that
    vb6 delete tem1 table from access
    opening sum from ledger table
    opening sum form A/C coding table
    first add opening in tem1 table
    then add all sepsfic data from ledger table to temp table
    after that data show in crystal report
    kindly Help

    Hello,
    Thank you for your post.
    Based on your description, I am afraid that the issue is out of support of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I suggest that you can consult your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
      for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • CRYSTAL Report showing emty

    Dear all,
    Crystal Report showing blank report for one invoice.but it's showing report other invoices.i write query like this.
    SELECT Distinct T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[Address],T0.[Address2],  T0.[NumAtCard],T0.[ShipToCode], T0.[DocTotal], T0.[U_CST],T0.[U_STIN1], T0.[U_Fright], T0.[U_TPNAME], T0.[U_TNO], T0.[U_DNAME], T0.[U_Warranty],T0.[U_PONum] ,T0.[U_TINNo],T0.[VatSum],T0.[CntctCode],T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[TaxCode], T2.[PymntGroup], T3.[TaxId5], T3.[TaxId11], t0.[U_AmntinWrds],T1.[DiscPrcnt],t1.[linetotal],T0.[U_VAT],T0.[RoundDif],T0.[TotalExpns],T0.[U_Vat4],T0.[DocNum], T0.[U_VAT5], T0.[U_TCS1], T0.[U_CST1], T0.[U_VAT], T0.[U_Vat4], T0.[U_VAT5], T0.[U_TCS1]  FROM [dbo].[OINV]  T0 INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry left JOIN [dbo].[OCTG]  T2 ON T0.GroupNum = T2.GroupNum INNER JOIN INV12 T3 ON T0.DocEntry = T3.DocEntry WHERE T0.[DocNum] ={?InvoiceNum}
    Thanks

    Hi,
    Try this query in query generator. Let me know the query result.
    SELECT Distinct T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[Address],T0.[Address2],  T0.[NumAtCard],T0.[ShipToCode], T0.[DocTotal], T0.[U_CST],T0.[U_STIN1], T0.[U_Fright], T0.[U_TPNAME], T0.[U_TNO], T0.[U_DNAME], T0.[U_Warranty],T0.[U_PONum] ,T0.[U_TINNo],T0.[VatSum],T0.[CntctCode],T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[TaxCode], T2.[PymntGroup], T3.[TaxId5], T3.[TaxId11], t0.[U_AmntinWrds],T1.[DiscPrcnt],t1.[linetotal],T0.[U_VAT],T0.[RoundDif],T0.[TotalExpns],T0.[U_Vat4],T0.[DocNum], T0.[U_VAT5], T0.[U_TCS1], T0.[U_CST1], T0.[U_VAT], T0.[U_Vat4], T0.[U_VAT5], T0.[U_TCS1]  FROM [dbo].[OINV]  T0 INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry left JOIN [dbo].[OCTG]  T2 ON T0.GroupNum = T2.GroupNum INNER JOIN INV12 T3 ON T0.DocEntry = T3.DocEntry WHERE T0.[DocNum] = [%0]
    Thanks & Regards,
    Nagarajan

  • Where to find the SQL log by crystal reports

    i want to watch the sql log by crystal report loading,but i don't know how to find it , somebody knows it? thanks advanced!

    Hi Wang,
    If you mean to look at the SQL query CR generates, then open the report in the CR Designer > Go to the Database option on the top > Click Show SQL.
    -Abhilash

Maybe you are looking for