P
Phantom_guitarist
How can I take two table as follows
Table 1 Mileage
Date
Destination
Miles
Table 2 Petrol Reciepts
Date
Petrol
And combine them into 1.
Table 3
Date
Miles
Petrol
The problem is that not all the dates in Table 2 are in Table 1. So a new
entry needs to be made with the date and petrol when this happens.
If possibly I would like to find the next date for this and add the petrol
cost to the end of that.
Eg,.
Table 1 21/11/03 Blackpool 103 miles
Table 2 20/11/03 £25.36
When Combined gives
Table 3 21/11/03 Blackpool 103 miles £25.36
Has anyone any auggestions?
Table 1 Mileage
Date
Destination
Miles
Table 2 Petrol Reciepts
Date
Petrol
And combine them into 1.
Table 3
Date
Miles
Petrol
The problem is that not all the dates in Table 2 are in Table 1. So a new
entry needs to be made with the date and petrol when this happens.
If possibly I would like to find the next date for this and add the petrol
cost to the end of that.
Eg,.
Table 1 21/11/03 Blackpool 103 miles
Table 2 20/11/03 £25.36
When Combined gives
Table 3 21/11/03 Blackpool 103 miles £25.36
Has anyone any auggestions?