Hello,
I realize that storing a calculated filed is against the golden rule (at least in most cases), but here is a situation I believe I will need to do that.
I have a complex query that calculates and keeps history of projected interest payments; I also have a table where I keep track of every actual interest payment received. Let’s say in 80% of the cases the actual interest payment equals the projected one. In the remaining 20% it doesn’t. So, what I am trying to do is as follows.
The database users will have a form to populate the actual interest. However on the same form, he/she will see the projected interest payment. So, I want the user to have the option to either manually type in the actual payment amount, or to simply click on a command button and save the projected interest into the payment history table (but only if that projected payment is exactly the same as the actual payment); just to clarify, the actual payment info is on a hard copy reports, and the user have to manually enter them. So, the idea is to avoid some manual work and mistyping of data.
I guess I am looking for a code or another option allowing me to save those projected interest payments into the respective field on the payment history table based on a command button. I am using Access 2000.
Is this doable at all, and how it could be done?
Any help is greatly appreciated!
Rgds.
Atol
I realize that storing a calculated filed is against the golden rule (at least in most cases), but here is a situation I believe I will need to do that.
I have a complex query that calculates and keeps history of projected interest payments; I also have a table where I keep track of every actual interest payment received. Let’s say in 80% of the cases the actual interest payment equals the projected one. In the remaining 20% it doesn’t. So, what I am trying to do is as follows.
The database users will have a form to populate the actual interest. However on the same form, he/she will see the projected interest payment. So, I want the user to have the option to either manually type in the actual payment amount, or to simply click on a command button and save the projected interest into the payment history table (but only if that projected payment is exactly the same as the actual payment); just to clarify, the actual payment info is on a hard copy reports, and the user have to manually enter them. So, the idea is to avoid some manual work and mistyping of data.
I guess I am looking for a code or another option allowing me to save those projected interest payments into the respective field on the payment history table based on a command button. I am using Access 2000.
Is this doable at all, and how it could be done?
Any help is greatly appreciated!
Rgds.
Atol