E
Eric
Hi Renee,
Within the OnCurrent method of the form:
------------------
Dim strSomeVariable As String
'You could just directly refference this object in the
'If statement.
strSomeVariable = Me.txtDistrict
If strSomeVariable = "suspend" then
Me.cmdSomeButton.Enabled = False
Else
Me.cmdSomeButton.Enabled = True
EndIf
Within the OnCurrent method of the form:
------------------
Dim strSomeVariable As String
'You could just directly refference this object in the
'If statement.
strSomeVariable = Me.txtDistrict
If strSomeVariable = "suspend" then
Me.cmdSomeButton.Enabled = False
Else
Me.cmdSomeButton.Enabled = True
EndIf