I need some help with forming a query
I have 2 queris: Accounting an Budget, and would like to make a query that contain information from both query's
Both queries have the following fields:
CustNo
Account
Year
Period
Movement
ClosingBalance
The fields I would like to have in the final query is: (A=Accounting/B=Budget)
CustNo
Account
Year
Period
A.Movement
A.ClosingBalanse
B.Movement
B.ClosingBalanse
For records in the Accounting Query that does not have a matching record in the Budget Query, the fields B.Movement and B.ClosingBalanse should be empty or zero in the final query
For records in the Budget Query that does not have a matching record in the Accounting Query, the fields A.Movement and A.ClosingBalanse should be empty or zero in the final query
Where there are matcing records in both query's all fields should have values in the final query
I have solved this problem by using VBA and ADO, but on big datasett this takes a very long time, so I was hoping that with querys, it will go faster
Any advice on how to proceed?