Crystal Reports:应该没有任何结果

时间:2014-11-03 15:30:15

标签: sql crystal-reports report

在我创建的这份报告中,它应该是一个有限的结果。这里有一些截图以及拉动的SQL。期望的结果也将如下:

设计表格: The Design form

结果: Results

预期结果: Expected results

连接: Connections

没有Param: enter image description here

查询:

    www.salesforce.com
 SELECT Contact_Date_of_Death__c, Type, Centers_Case_Number__c, Id
 FROM   Case
 WHERE  Type='Standard'
 EXTERNAL JOIN Case.Centers_Case_Number__c={?P:\Crystal Reports\NAV\NAVCrystal.dsn: Center_Trust_Bill_Pay_Job.No_} AND Case.Id={?www.salesforce.com: Opportunity.SF_Case_Id_Import__c}


P:\Crystal Reports\NAV\NAVCrystal.dsn
 SELECT "Center_Trust_Bill_Pay_Job"."Description", "Center_Trust_Bill_Pay_Job"."No_", "Center_Trust_Bill_Pay_Job"."Trust Type"
 FROM   "BFGLLC"."dbo"."Center Trust Bill Pay$Job" "Center_Trust_Bill_Pay_Job"
 WHERE  "Center_Trust_Bill_Pay_Job"."No_"={?www.salesforce.com: Case.Centers_Case_Number__c}
 ORDER BY "Center_Trust_Bill_Pay_Job"."No_"
 EXTERNAL JOIN Center_Trust_Bill_Pay_Job.No_={?P:\Crystal Reports\NAV\NAVCrystal.dsn: Center_Trust_Bill_Pay_Job_Ledger_Entry.Job No_}


P:\Crystal Reports\NAV\NAVCrystal.dsn
 SELECT "Center_Trust_Bill_Pay_G_L_Account"."No_", "Center_Trust_Bill_Pay_Job_Ledger_Entry"."Posting Date", "Center_Trust_Bill_Pay_Job_Ledger_Entry"."Line Amount (LCY)", "Center_Trust_Bill_Pay_Job_Ledger_Entry"."Job No_"
 FROM   "BFGLLC"."dbo"."Center Trust Bill Pay$Job Ledger Entry" "Center_Trust_Bill_Pay_Job_Ledger_Entry" INNER JOIN "BFGLLC"."dbo"."Center Trust Bill Pay$G_L Account" "Center_Trust_Bill_Pay_G_L_Account" ON "Center_Trust_Bill_Pay_Job_Ledger_Entry"."No_"="Center_Trust_Bill_Pay_G_L_Account"."No_"
 WHERE  "Center_Trust_Bill_Pay_Job_Ledger_Entry"."Job No_"={?P:\Crystal Reports\NAV\NAVCrystal.dsn: Center_Trust_Bill_Pay_Job.No_}


www.salesforce.com
 SELECT Commissioned_Sales_Rep__c, Biling_Notes__c, SF_Case_Id_Import__c
 FROM   Opportunity
 EXTERNAL JOIN Opportunity.SF_Case_Id_Import__c={?www.salesforce.com: Case.Id}

0 个答案:

没有答案