jamaarneen
Programmer
Hi,
I have a table with Contracts (rent of apartment's), what was a field Date_Begin.
there is also a table PRICES, where i enter the price(s) for each contract (the price can change annually).
What I want to achieve is, a query that should give me -per contract- a list with a record for every month since the 'Date_Begin' until the current month. the query will have to take the right amount from the table 'PRICES'.
My question is: how do i make that the query should ADD a new line for each month (=each first day of a month).
[I don't think of adding to a table, it's only to represent in the query].
Or maybe isn't it possible to achieve this with only a query? do I have to store those lined in a table?
Thanks in advanced
I have a table with Contracts (rent of apartment's), what was a field Date_Begin.
there is also a table PRICES, where i enter the price(s) for each contract (the price can change annually).
What I want to achieve is, a query that should give me -per contract- a list with a record for every month since the 'Date_Begin' until the current month. the query will have to take the right amount from the table 'PRICES'.
My question is: how do i make that the query should ADD a new line for each month (=each first day of a month).
[I don't think of adding to a table, it's only to represent in the query].
Or maybe isn't it possible to achieve this with only a query? do I have to store those lined in a table?
Thanks in advanced