23. Januar 2012 15:42
CurrReport.SHOWOUTPUT(
(
("Job Structure Line".Type = Type::Item) AND
("Job Structure Line".Level = 2)AND
("Job Structure Header"."Ending Date" <> 0D)
)
OR
(
("Job Structure Line".Type = Type:: Resource) AND
("Job Structure Line"."No." = '715')AND
("Job Structure Header"."Ending Date" <> 0D)
)
OR
(
("Job Structure Line".Type = Type:: Resource) AND
("Job Structure Line"."No." = '740')AND
("Job Structure Header"."Ending Date" <> 0D)
)
OR
(
("Job Structure Line".Type = Type:: Resource) AND
("Job Structure Line"."No." = '730')AND
("Job Structure Header"."Ending Date" <> 0D)
)
OR
(
("Job Structure Line".Type = Type:: Resource) AND
("Job Structure Line"."No." = '710')AND
("Job Structure Header"."Ending Date" <> 0D)
)
);
23. Januar 2012 15:47
24. Januar 2012 10:45
HattrickHorst hat geschrieben:Mit einzelnen DataItems.
IF ("Job Structure Header"."Ending Date" = 0D) OR NOT ("Job Structure Line".Type IN ["Job Structure Line".Type::Item,"Job Structure Line".Type::Resource]) THEN
CurrReport.SKIP;
IF ("Job Structure Line".Type = Type::Item) AND ("Job Structure Line".Level <> 2) THEN
CurrReport.SKIP;
IF ("Job Structure Line".Type = Type:: Resource) AND NOT ("Job Structure Line"."No." IN ['710','715','730','740'])) THEN
CurrReport.SKIP;
CurrReport.SHOWOUTPUT(
((("Job Structure Line".Type = "Job Structure Line".Type::Item) AND ("Job Structure Line".Level = 2))
OR
(("Job Structure Line".Type = "Job Structure Line".Type:: Resource) AND ("Job Structure Line"."No." IN ['710','715','730','740'])))
AND
("Job Structure Header"."Ending Date" <> 0D)
);
24. Januar 2012 11:17
24. Januar 2012 12:25
Tim hat geschrieben:HattrickHorst hat geschrieben:Mit einzelnen DataItems.
Wenn du keine Lust hast über eine Anfrage nachzudenken, dann antworte doch auch nicht.