mmusick
Programmer
- Aug 12, 2003
- 13
I’m new (10 days) to crystal reports V10 and need some help on the following. I have two Oracle tables that I built the following command to use as the record source for my report:
SELECT F1 as Idate,
F2 ,
F3 ,
'TEXT1' as type
FROM a
WHERE F5 in ('67','43','64','49')
AND F6 in ('20','56','10’,'62')
AND F3 = 'T1'
UNION
SELECT F1 as Idate,
F2,
F3,
'TEXT2' as type
FROM b
WHERE F3 = 'T1'
ORDER BY F1
I inserted a cross-tab into the report which has column Idate (for each week), row of type, and summarized field of F3 which is dollars. It is providing me with what I expected.
I’ve read through multiple posts dealing with parameters, not understanding too much. I would like to be able to have command parameters for F3, F5, and F6. The option to allow multiple fields as input for F5 and F6 does not exist within the command parameter.
Any help would be greatly appreciated.
SELECT F1 as Idate,
F2 ,
F3 ,
'TEXT1' as type
FROM a
WHERE F5 in ('67','43','64','49')
AND F6 in ('20','56','10’,'62')
AND F3 = 'T1'
UNION
SELECT F1 as Idate,
F2,
F3,
'TEXT2' as type
FROM b
WHERE F3 = 'T1'
ORDER BY F1
I inserted a cross-tab into the report which has column Idate (for each week), row of type, and summarized field of F3 which is dollars. It is providing me with what I expected.
I’ve read through multiple posts dealing with parameters, not understanding too much. I would like to be able to have command parameters for F3, F5, and F6. The option to allow multiple fields as input for F5 and F6 does not exist within the command parameter.
Any help would be greatly appreciated.