G
Guest
Why this code does not work?
[Report] is a checkbox located in a Subform named:lbl_ScrapDB_subform
and [shift_combo] is a combobox located in Form named:WScrapForm
could you please help
===============================================
Private Sub Report_Click()
If IsNull(Form!WScrapForm![shift_combo]) Then
MsgBox "You must Select the Shift where you work before report !",
vbCritical, "Warning, Shift not selected"
Report.Value = False
Else
Report.Value = Value
End If
End sub
==================================================
[Report] is a checkbox located in a Subform named:lbl_ScrapDB_subform
and [shift_combo] is a combobox located in Form named:WScrapForm
could you please help
===============================================
Private Sub Report_Click()
If IsNull(Form!WScrapForm![shift_combo]) Then
MsgBox "You must Select the Shift where you work before report !",
vbCritical, "Warning, Shift not selected"
Report.Value = False
Else
Report.Value = Value
End If
End sub
==================================================