K
Kelvin Beaton
I'm trying to check the value (SecurityLevel) on one form (frm_AppVars) and
set a CheckBox control value (ExceptionApproved) on the other form
(frm_ExceptionToPolicy) but I get the following error.
Run-Time error '438'
Object doesn't support this property or method
This is the code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Private Sub Form_Current()
If Forms.frm_AppVars.SecurityLevel >= 30 Then
Forms.frm_ExceptionToPolicy.Controls.ExceptionApproved.Enabled = True
Else
Forms.frm_ExceptionToPolicy.Controls.ExceptionApproved.Enabled = False
End If
End Sub
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Is it saying that "True" and "False" are not valid values?
I tried Yes/No and it didn't seem to like that either.
Any help would be appreciated
Kelvin
set a CheckBox control value (ExceptionApproved) on the other form
(frm_ExceptionToPolicy) but I get the following error.
Run-Time error '438'
Object doesn't support this property or method
This is the code:
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Private Sub Form_Current()
If Forms.frm_AppVars.SecurityLevel >= 30 Then
Forms.frm_ExceptionToPolicy.Controls.ExceptionApproved.Enabled = True
Else
Forms.frm_ExceptionToPolicy.Controls.ExceptionApproved.Enabled = False
End If
End Sub
++++++++++++++++++++++++++++++++++++++++++++++++++++++
Is it saying that "True" and "False" are not valid values?
I tried Yes/No and it didn't seem to like that either.
Any help would be appreciated
Kelvin