Hello,
I have 2 tables that I need to consolidate into one, I usually do this using a do while loop, but I am wondering if there is an easier way.
All 3 tables have the following structure:
stockcode, january, february, march, etc. I have to sum each pair of months into a single row for each stockcode.
The 3 are local dbfs and are:
sales1 (source1)
sales2 (source2)
sales (destination)
I will greatly appreciate any suggestion on how to simplify this proccess.
I have 2 tables that I need to consolidate into one, I usually do this using a do while loop, but I am wondering if there is an easier way.
All 3 tables have the following structure:
stockcode, january, february, march, etc. I have to sum each pair of months into a single row for each stockcode.
The 3 are local dbfs and are:
sales1 (source1)
sales2 (source2)
sales (destination)
I will greatly appreciate any suggestion on how to simplify this proccess.