G
gigglin''''me
Can this be simplified?
Private Sub ARC50K
If [PoolCloseDate] > Now() And Me.ckbProgramRate = False And _
Me.grpProgramOptions.Value = 6 And [RateRequested] >= 4.4 Then
[MatrixID] = 137
ElseIf [PoolCloseDate] > Now() And Me.ckbProgramRate = True And _
(Me.grpProgramOptions.Value = 6 Or Me.grpProgramOptions.Value = 3)
Then
[MatrixID] = 153
ElseIf [PoolCloseDate] > Now() And Me.ckbProgramRate = True And _
Me.grpProgramOptions.Value = 2 Then
[MatrixID] = 154
ElseIf [PoolCloseDate] > Now() And Me.ckbProgramRate = False And _
Me.grpProgramOptions.Value = 1 And Me.txtRateRequested >= 0 Then
[MatrixID] = 165
Else
[MatrixID] = 147
End If
End Sub
Thank you.
Robin
Private Sub ARC50K
If [PoolCloseDate] > Now() And Me.ckbProgramRate = False And _
Me.grpProgramOptions.Value = 6 And [RateRequested] >= 4.4 Then
[MatrixID] = 137
ElseIf [PoolCloseDate] > Now() And Me.ckbProgramRate = True And _
(Me.grpProgramOptions.Value = 6 Or Me.grpProgramOptions.Value = 3)
Then
[MatrixID] = 153
ElseIf [PoolCloseDate] > Now() And Me.ckbProgramRate = True And _
Me.grpProgramOptions.Value = 2 Then
[MatrixID] = 154
ElseIf [PoolCloseDate] > Now() And Me.ckbProgramRate = False And _
Me.grpProgramOptions.Value = 1 And Me.txtRateRequested >= 0 Then
[MatrixID] = 165
Else
[MatrixID] = 147
End If
End Sub
Thank you.
Robin