Hi All,
I am using Crystal Report 8.0 with sql2k, Native Connection, I found that It
Doesn't support LEFT JOIN (very well).
Here is the case :
OrderHeader->LeftJoin->OrderDetail->(Works)
OrderHeader->LeftJoin->OrderDetail->LeftJoin
->Produk --> DOESN'T WORKS
OrderHeader->LeftJoin->OrderDetail->InnerJoin
->Product --> DOESN'T WORKS
So that I have to create VIEW for this and use the VIEW from Crystal Report.
I want to avoid this everhead of creating view For All Transaction Table.
Has anybody solved this problem ?
TIA,
Krist
Crystal Generated Query :
SELECT
T01QUOH.KdRegs, T01QUOH.KdDocu, T01QUOH.NoDocu, T01QUOH.StDoc1,
T02QUOD.Agency, T02QUOD.SparePart, T02QUOD.Kuantum, T02QUOD.Price,
M51AGCY.Nama
FROM
AIRINDONEW.dbo.T01QUOH T01QUOH,
AIRINDONEW.dbo.T02QUOD T02QUOD,
AIRINDONEW.dbo.M51AGCY M51AGCY
WHERE
T01QUOH.KdRegs *= T02QUOD.KdRegs AND
T01QUOH.KdDocu *= T02QUOD.KdDocu AND
T01QUOH.TpDocu *= T02QUOD.TpDocu AND
T01QUOH.NoDocu *= T02QUOD.NoDocu AND
T02QUOD.Agency *= M51AGCY.Agency
I am using Crystal Report 8.0 with sql2k, Native Connection, I found that It
Doesn't support LEFT JOIN (very well).
Here is the case :
OrderHeader->LeftJoin->OrderDetail->(Works)
OrderHeader->LeftJoin->OrderDetail->LeftJoin
->Produk --> DOESN'T WORKS
OrderHeader->LeftJoin->OrderDetail->InnerJoin
->Product --> DOESN'T WORKS
So that I have to create VIEW for this and use the VIEW from Crystal Report.
I want to avoid this everhead of creating view For All Transaction Table.
Has anybody solved this problem ?
TIA,
Krist
Crystal Generated Query :
SELECT
T01QUOH.KdRegs, T01QUOH.KdDocu, T01QUOH.NoDocu, T01QUOH.StDoc1,
T02QUOD.Agency, T02QUOD.SparePart, T02QUOD.Kuantum, T02QUOD.Price,
M51AGCY.Nama
FROM
AIRINDONEW.dbo.T01QUOH T01QUOH,
AIRINDONEW.dbo.T02QUOD T02QUOD,
AIRINDONEW.dbo.M51AGCY M51AGCY
WHERE
T01QUOH.KdRegs *= T02QUOD.KdRegs AND
T01QUOH.KdDocu *= T02QUOD.KdDocu AND
T01QUOH.TpDocu *= T02QUOD.TpDocu AND
T01QUOH.NoDocu *= T02QUOD.NoDocu AND
T02QUOD.Agency *= M51AGCY.Agency