Hello,
I have been using Access off and on since the old days of Access 2.0.
I am currently using Access 2000.
Pretty much everything I have done has been without doing any coding.
I think I need to do some vba coding to solve a current problem I have.
I have a table called debts and
I have a table called interest.
I need to check if a record exist with debtid=current debtid in interest.
My logic is this:
If there is no record in the interest table, then I am free to calculate interest from datedue and amountowed of current table. Then write record to interest with what I charged and the date charged and the new balance.
If there is a record in interest, then I have to grab the last balance and compare it to the amountowed and calculate new interest. Then write record to interest with what I charged and the date charged and the new balance.
I think you have to use VBA to do this and I have spent much of yesterday looking for tutorials on how to use VBA.
I could find very little on the matter.
Anyway, I will be visiting a bookstore today to get a good book on this. Problem is I really need to solve this problem as soon as possible.
Can anyone help me with the code needed to accomplish this?
Thank You.
I have been using Access off and on since the old days of Access 2.0.
I am currently using Access 2000.
Pretty much everything I have done has been without doing any coding.
I think I need to do some vba coding to solve a current problem I have.
I have a table called debts and
I have a table called interest.
I need to check if a record exist with debtid=current debtid in interest.
My logic is this:
If there is no record in the interest table, then I am free to calculate interest from datedue and amountowed of current table. Then write record to interest with what I charged and the date charged and the new balance.
If there is a record in interest, then I have to grab the last balance and compare it to the amountowed and calculate new interest. Then write record to interest with what I charged and the date charged and the new balance.
I think you have to use VBA to do this and I have spent much of yesterday looking for tutorials on how to use VBA.
I could find very little on the matter.
Anyway, I will be visiting a bookstore today to get a good book on this. Problem is I really need to solve this problem as soon as possible.
Can anyone help me with the code needed to accomplish this?
Thank You.