I have a form with text (can have list). If there is a value in the box – message should be displayed. If not – run Macro.
If Forms![Update_master-data-charges]!txt_Check_Dates.Value = True Then
MsgBox “Data for this Pay Period is exists in the master-data-charge table”
Else
DoCmd.RunMacro “Run_Update_master-data-charges”
End If
and it is showing Message value or no value.
It seems like value in the box gets un-noticed.
Please help