J
Jani
I've given up. My condition for the macro is below but when I run the macro
there is no message displayed and the balance of the macro does not run. What
I need is that if the OffLedgerDate entered on the form (in text format
yyyymmdd) is found in the DistDate field on the dbo_uTempLabor_All table AND
if DayDots is found in the Corp field on the dbo_uTempLabor_all table, a
message is to be displayed indicating that the data is already entered.
This is the condition and the action is a MsgBox.
[Forms]![frmMain]![OffLedgerDate]=DLookUp("[DistDate]","dbo_uTempLabor_All")
And "DayDots"=DLookUp("[Corp]","dbo_uTempLaborAll")
2nd line of macro has an Action of Stop Macro.
Any help would be very much appreciated. Thank you!
there is no message displayed and the balance of the macro does not run. What
I need is that if the OffLedgerDate entered on the form (in text format
yyyymmdd) is found in the DistDate field on the dbo_uTempLabor_All table AND
if DayDots is found in the Corp field on the dbo_uTempLabor_all table, a
message is to be displayed indicating that the data is already entered.
This is the condition and the action is a MsgBox.
[Forms]![frmMain]![OffLedgerDate]=DLookUp("[DistDate]","dbo_uTempLabor_All")
And "DayDots"=DLookUp("[Corp]","dbo_uTempLaborAll")
2nd line of macro has an Action of Stop Macro.
Any help would be very much appreciated. Thank you!