MikeAuz1979
Programmer
Hi,
Using Access 97 I'm linking to an oracle table like below (Using a normal access query to a linked table):
CONTRACT_NUMBER START_DATE END_DATE BOOKED_GJ
12345 01-jan-05 100
12345 01-jan-06 150
11111 01-jan-06 500
Where I'm trying to link the Booked_GJ value to another table's daily data on CONTRACT_NUMBER between the start and end dates.
As you can see there's no end dates for the period of the contracts, any ideas how to populate this to the last day before the start of the new contract Start_Date and to default this to 01-Jun-10 if there is no later contract?
For example in the 12345 case I'd like to see End Date, rows 1 and 2 to be 31-Dec-05 and 01-Jun-10 and for row 3 I'd like to see 01-Jun-10
Thanks heaps for any help
Mike
Using Access 97 I'm linking to an oracle table like below (Using a normal access query to a linked table):
CONTRACT_NUMBER START_DATE END_DATE BOOKED_GJ
12345 01-jan-05 100
12345 01-jan-06 150
11111 01-jan-06 500
Where I'm trying to link the Booked_GJ value to another table's daily data on CONTRACT_NUMBER between the start and end dates.
As you can see there's no end dates for the period of the contracts, any ideas how to populate this to the last day before the start of the new contract Start_Date and to default this to 01-Jun-10 if there is no later contract?
For example in the 12345 case I'd like to see End Date, rows 1 and 2 to be 31-Dec-05 and 01-Jun-10 and for row 3 I'd like to see 01-Jun-10
Thanks heaps for any help
Mike