I have a Calculated text Box [TotalEquity]
this can a return a positive or negative currency amout. OK to here; I arrive at this control by the following:
[Allowance]-[PayOff]=[TotalEquity]
I need to provide for a control that returns the negative value(if any) of [TotalEquity] and then place that value (as a positive amount) in [PayoffRollover]. I am trying code listed herein, and was wondering how can i use this (or something similar) in an expression to use as my control source.. Any ideas welcomed and appreciated..
If Me.TotalEquity < 0 Then
Me.PayoffRollover = Me.TotalPayoff -Me.TotalAllowance
Else
Me.PayoffRollover = 0
End If
Logic since [TotalEquity] is a negative amount then return the positive amount by using [Payoff]-[Allowance]=[PayoffRollover]... does not seem to work though.. anyone can tell me why.
Thanks a WHOLE BUNCH..
Jeff
this can a return a positive or negative currency amout. OK to here; I arrive at this control by the following:
[Allowance]-[PayOff]=[TotalEquity]
I need to provide for a control that returns the negative value(if any) of [TotalEquity] and then place that value (as a positive amount) in [PayoffRollover]. I am trying code listed herein, and was wondering how can i use this (or something similar) in an expression to use as my control source.. Any ideas welcomed and appreciated..
If Me.TotalEquity < 0 Then
Me.PayoffRollover = Me.TotalPayoff -Me.TotalAllowance
Else
Me.PayoffRollover = 0
End If
Logic since [TotalEquity] is a negative amount then return the positive amount by using [Payoff]-[Allowance]=[PayoffRollover]... does not seem to work though.. anyone can tell me why.
Thanks a WHOLE BUNCH..
Jeff