Sheila.deJesus
She
- Local time
- Today, 16:35
- Joined
- Jul 12, 2006
- Messages
- 70
I have two tables:
Table1 - show details of customer payment (full payment / with credit terms up to a maximum of six (6) months)
ColID - (PK/Autonumber)
Col1
Col2
Col3
Col4
Col5
Col6
Table2 - shows insurance agent's prorata commission (based on cleared payment).
ComID - (PK/Autonumber)
ColID
Com1
Com2
Com3
Com4
Com5
Com6
Scenario: If a customer was given 6-month-credit term to pay for his insurance premium, then the insurance agent's commission will also be given in six monthly terms.
Example Computation:
Amount of premium is 12,000 (payable in 6 months = 2,000/monthly)
Agents Commission is 10% of Premium (1,200 = 200/monthly)
What i need is a code to automatically update Table2 if Table1 is updated. If the dbase user updates Col2 based on the amount the customer pays, the field Com2 must also be updated.
I hope this is feasible.
Thanks!
Sheila
Table1 - show details of customer payment (full payment / with credit terms up to a maximum of six (6) months)
ColID - (PK/Autonumber)
Col1
Col2
Col3
Col4
Col5
Col6
Table2 - shows insurance agent's prorata commission (based on cleared payment).
ComID - (PK/Autonumber)
ColID
Com1
Com2
Com3
Com4
Com5
Com6
Scenario: If a customer was given 6-month-credit term to pay for his insurance premium, then the insurance agent's commission will also be given in six monthly terms.
Example Computation:
Amount of premium is 12,000 (payable in 6 months = 2,000/monthly)
Agents Commission is 10% of Premium (1,200 = 200/monthly)
What i need is a code to automatically update Table2 if Table1 is updated. If the dbase user updates Col2 based on the amount the customer pays, the field Com2 must also be updated.
I hope this is feasible.
Thanks!
Sheila