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