M
Meg
I have a form I am entering data into which populates a
form. I have a field "Nettransaction" that is calculated
and it NEEDS to go into the table. That number is a
historic record of what the value was at that time and
HAS to be recorded.
The calculation for Nettransaction is Transactionamount -
commission - outgoingcommission.
The commission is usually 6% but may change so I already
have the following code in the AfterUpdate event
procedures for both commissionrate and transactionamount:
If IsNull(Me.CommissionAmount.Value) Then
'no commission amount entered yet,
'so generate default value
Me.CommissionAmount.Value = Me.PickupAmount.Value *
Me.CommissionRate.Value
End If
I've tried several things which didn't work. What do I
need to do to get the calculation for Nettransaction and
have it enter into the table?
Thanks in advance!
form. I have a field "Nettransaction" that is calculated
and it NEEDS to go into the table. That number is a
historic record of what the value was at that time and
HAS to be recorded.
The calculation for Nettransaction is Transactionamount -
commission - outgoingcommission.
The commission is usually 6% but may change so I already
have the following code in the AfterUpdate event
procedures for both commissionrate and transactionamount:
If IsNull(Me.CommissionAmount.Value) Then
'no commission amount entered yet,
'so generate default value
Me.CommissionAmount.Value = Me.PickupAmount.Value *
Me.CommissionRate.Value
End If
I've tried several things which didn't work. What do I
need to do to get the calculation for Nettransaction and
have it enter into the table?
Thanks in advance!