M
Michelle
I've been trying to figure out a way to do this for awhile, but I haven't
come up with anything that works. I'm querying a table in my company's
database that shows all of our loans and their payment changes. Some loans
have payment changes every month, some have payment changes every few
months/years, and others just have one payment amount and rate for their
whole term.
Loans that have a payment change every month have a record for every month
of the full term, like this:
Due Date Payment Interest Rate
01/01/09 $100.00 6.0000%
02/01/09 $200.00 6.5000%
03/01/09 $300.00 8.0000%
04/01/09 $400.00 7.5000%
That's how I want the entire table to look. But loans that have fewer
payment changes only show records for the due date that the payment change
happens, like this:
Due Date Payment Interest Rate
01/01/09 $100.00 6.0000%
03/01/09 $200.00 6.5000%
05/01/09 $300.00 8.0000%
And loans that don't have any payment changes only have one record. I'd like
for them to pull in a record for every due date, even if it's the same
payment amount and rate as the previous month. Like this:
Due Date Payment Interest Rate
01/01/09 $100.00 6.0000%
02/01/09 $100.00 6.0000%
03/01/09 $200.00 6.5000%
04/01/09 $200.00 6.5000%
05/01/09 $300.00 8.0000%
06/01/09 $300.00 8.0000%
And the table is protected, so I can't change the way it's set up. Sorry for
the long post. Does anyone have any suggestions? I understand if there's no
way to do this. I just thought it wouldn't hurt to ask for help.
Thanks,
Michelle
come up with anything that works. I'm querying a table in my company's
database that shows all of our loans and their payment changes. Some loans
have payment changes every month, some have payment changes every few
months/years, and others just have one payment amount and rate for their
whole term.
Loans that have a payment change every month have a record for every month
of the full term, like this:
Due Date Payment Interest Rate
01/01/09 $100.00 6.0000%
02/01/09 $200.00 6.5000%
03/01/09 $300.00 8.0000%
04/01/09 $400.00 7.5000%
That's how I want the entire table to look. But loans that have fewer
payment changes only show records for the due date that the payment change
happens, like this:
Due Date Payment Interest Rate
01/01/09 $100.00 6.0000%
03/01/09 $200.00 6.5000%
05/01/09 $300.00 8.0000%
And loans that don't have any payment changes only have one record. I'd like
for them to pull in a record for every due date, even if it's the same
payment amount and rate as the previous month. Like this:
Due Date Payment Interest Rate
01/01/09 $100.00 6.0000%
02/01/09 $100.00 6.0000%
03/01/09 $200.00 6.5000%
04/01/09 $200.00 6.5000%
05/01/09 $300.00 8.0000%
06/01/09 $300.00 8.0000%
And the table is protected, so I can't change the way it's set up. Sorry for
the long post. Does anyone have any suggestions? I understand if there's no
way to do this. I just thought it wouldn't hurt to ask for help.
Thanks,
Michelle