ThunderBolt
Registered User.
- Local time
- Today, 23:29
- Joined
- Apr 29, 2003
- Messages
- 25
Private Sub Grade_A_AfterUpdate()
If [Grade A] <= [Grade B] Or [Grade A] > 100 Then: Rem Too low
MsgBox ("Invalid Grade Boundary. Please Check And Try Again.")
[Grade A] = Null: Rem Clears box
[Grade A].SetFocus: Rem Places cursor
End If
End Sub
It keeps saying there is an end if without a block if???
If [Grade A] <= [Grade B] Or [Grade A] > 100 Then: Rem Too low
MsgBox ("Invalid Grade Boundary. Please Check And Try Again.")
[Grade A] = Null: Rem Clears box
[Grade A].SetFocus: Rem Places cursor
End If
End Sub
It keeps saying there is an end if without a block if???