hello i am using crystal reports 9 and relativly new to crystal reports.
I am trying to add a new paramater to the report so that it pulls data from different divisions within the company.
The way it is setup now is that i pulls sale data from the database what i want it to do is pull data from the different divisions seperatly.
i added a new paramater to do this but i am having trouble updating the sql query so that it only pulls the data for that division.
I am not sure what is needed so i will post the sql query
SELECT "job_hdr"."order-no", "job_hdr"."enter-date", "job_hdr"."name", "job_hdr"."item-desc", "job_hdr"."prod-code", "job_hdr"."unit-price", "job_hdr"."x-dec", "job_hdr"."parent-order", "so_hdr"."x-char", "job_hdr"."so-no", "ship_log"."tran-date", "ship_log"."quantity", "job_hdr"."country"
FROM {oj ("PUB"."job-hdr" "job_hdr" LEFT OUTER JOIN "PUB"."so-hdr" "so_hdr" ON ("job_hdr"."company"="so_hdr"."company") AND ("job_hdr"."parent-order"="so_hdr"."order-no")) LEFT OUTER JOIN "PUB"."ship-log" "ship_log" ON ("job_hdr"."company"="ship_log"."company") AND ("job_hdr"."order-no"="ship_log"."order-no")}
WHERE "ship_log"."tran-date"={d '2011-07-07'}
ORDER BY "job_hdr"."country"
Not sure what else is needed please let me know.