I have 2 tables which contain the sales figures for 2 individual retail shops. Both tables have the same format but have different names.
I have programatically combined these tables into a new table and created a report which displays the summed qty of each item as below.
This works fine and the report detailing the previous days sales from both shops is waiting for the client at head office the following morning. All magic stuff (he says) and has worked a treat for a number of months now.
The whole conversion process takes a couple of minutes but is not a problem as all this happens over night.
Now the client wants to be able to be more selective and create reports in real time and 2 minutes is far too long to wait for results.
Is it possible to create this table using a single query or combine the results of 2 queries into a single table.
Not looking for a coded solution but wanting to know if this is possible and if so, possibly a pointer towards the solution.
Keith
I have programatically combined these tables into a new table and created a report which displays the summed qty of each item as below.
Code:
ItemCode Shop1Qty Shop2Qty
A111 2 0
A112 0 3
A113 2 0
A116 1 0
A118 12 0
A119 3 2
A115 4 2
The whole conversion process takes a couple of minutes but is not a problem as all this happens over night.
Now the client wants to be able to be more selective and create reports in real time and 2 minutes is far too long to wait for results.
Is it possible to create this table using a single query or combine the results of 2 queries into a single table.
Not looking for a coded solution but wanting to know if this is possible and if so, possibly a pointer towards the solution.
Keith