I have a report where a group is suppressed bases on the running total. This works fine.
What I am having a problem with is that I also need an additional running Total Field at the end of the report where it will total all running totals from the unsuppressed groups.
group not displayed
pn...
When I execute the following statement
SELECT DISTINCT OEL.item_no, OEL.qty_to_ship AS 'Total quantity Sold', OEL.sls_amt
FROM OEL
INNER JOIN OEH ON OEL.ord_no = OEH.ord_no
AND OEL.ord_type = OEH.ord_type
WHERE OEH.cus_no = '000000000027'
AND OEL.loc = 'SALES'
ORDER BY OEL.item_no...
I would like to know how I could write the following stored procedure
step 1 read the data from database1
step 2 add the results from step 1 to database2. Note that fields in database1 are not necessary the same name as the fields in database2.
step 3 write into a field from step 1 results...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.