Hi,
I have this subform I am trying to run this code on, I have tried placing the code on the subforms Onload event and other areas but it will not work properly. Can someone tell me where to put this code please?
If Me!TotalGranteeAcres < Me!FixedLessThanValue Then
Me!MinimumAcreagePayout.Visible = True
Me!DividedInterestPayout.Visible = False
Me!NormalCalculationPayout.Visible = False
Me!NormalCalculation.Visible = False
Else
Me!MinimumAcreagePayout.Visible = False
Me!DividedInterestPayout.Visible = False
Me!NormalCalculationPayout.Visible = True
Me!NormalCalculation.Visible = True
End If
If Me!UI = 1 Then
Me!MinimumAcreagePayout.Visible = False
Me!DividedInterestPayout.Visible = True
Me!NormalCalculationPayout.Visible = False
Me!NormalCalculation.Visible = False
End If
EndSub
Thanks.
Fen How
I have this subform I am trying to run this code on, I have tried placing the code on the subforms Onload event and other areas but it will not work properly. Can someone tell me where to put this code please?
If Me!TotalGranteeAcres < Me!FixedLessThanValue Then
Me!MinimumAcreagePayout.Visible = True
Me!DividedInterestPayout.Visible = False
Me!NormalCalculationPayout.Visible = False
Me!NormalCalculation.Visible = False
Else
Me!MinimumAcreagePayout.Visible = False
Me!DividedInterestPayout.Visible = False
Me!NormalCalculationPayout.Visible = True
Me!NormalCalculation.Visible = True
End If
If Me!UI = 1 Then
Me!MinimumAcreagePayout.Visible = False
Me!DividedInterestPayout.Visible = True
Me!NormalCalculationPayout.Visible = False
Me!NormalCalculation.Visible = False
End If
EndSub
Thanks.
Fen How