I'm trying to use the following code to update a checkbox value (Course Catalog) based on several other checkbox values on the same form. I am getting the error: Object or With Block not defined.
Any suggestions, as I'm not much of a coder, yet...?
Dim chkCourseCatalog As Boolean
Dim chkAQApplicant As Boolean
Dim chkBlacklisted As CheckBox
Dim chkNativeVoices As CheckBox
chkCourseCatalog = Me!CourseCatalog
chkAQApplicant = Me!AIAQTPApplicant
chkNativeVoices = Me!NativeVoices
chkBlacklisted = Me!chkBlacklisted
If chkAQApplicant = -1 Then
chkCourseCatalog = -1
End If
If Me!StillInField = "No" Or chkBlacklisted = -1 Then
chkCourseCatalog = 0
chkNativeVoices = 0
End If
Any suggestions, as I'm not much of a coder, yet...?
Dim chkCourseCatalog As Boolean
Dim chkAQApplicant As Boolean
Dim chkBlacklisted As CheckBox
Dim chkNativeVoices As CheckBox
chkCourseCatalog = Me!CourseCatalog
chkAQApplicant = Me!AIAQTPApplicant
chkNativeVoices = Me!NativeVoices
chkBlacklisted = Me!chkBlacklisted
If chkAQApplicant = -1 Then
chkCourseCatalog = -1
End If
If Me!StillInField = "No" Or chkBlacklisted = -1 Then
chkCourseCatalog = 0
chkNativeVoices = 0
End If