Hi All,
I'm designing a Crystal report with a UNION query. The query looks like this,
SELECT x1
FROM x
WHERE <condition1>
UNION
SELECT y1
FROM Y
WHERE <condition2>
say,
<condition1> would be -> x.x1 between p1 and p2
<condition2> would be -> y.y1 between p1 and p2
where p1 and p2 are parameter fields.
How do i realise this in Crystal reports 8.5?
I tried adding <condition1> and <condition2> in "Record selection formula" but they are added with an "AND" condition (like "<condition1> AND <condtion2>"which is not my requirement.
Any help, would really be appreciated !!
Thanks & Regards,
Nijeesh.
I'm designing a Crystal report with a UNION query. The query looks like this,
SELECT x1
FROM x
WHERE <condition1>
UNION
SELECT y1
FROM Y
WHERE <condition2>
say,
<condition1> would be -> x.x1 between p1 and p2
<condition2> would be -> y.y1 between p1 and p2
where p1 and p2 are parameter fields.
How do i realise this in Crystal reports 8.5?
I tried adding <condition1> and <condition2> in "Record selection formula" but they are added with an "AND" condition (like "<condition1> AND <condtion2>"which is not my requirement.
Any help, would really be appreciated !!
Thanks & Regards,
Nijeesh.