D
Del
From a form I want to check a date field in a table to see if there is a date
there. I'm using the following code. I'm confident of the null check but
I'm not sure about the empty string. It seems like it should be ## instead
of "", but the compiler expects an expression when I use double #s.
If Not IsNull(DLookup("[Due]", "tblPMCurrentTask", "[TaskID]=" & Me.TaskID)) _
And (DLookup("[Due]", "tblPMCurrentTask", "[TaskID]=" & Me.TaskID)) <>
"" Then
there. I'm using the following code. I'm confident of the null check but
I'm not sure about the empty string. It seems like it should be ## instead
of "", but the compiler expects an expression when I use double #s.
If Not IsNull(DLookup("[Due]", "tblPMCurrentTask", "[TaskID]=" & Me.TaskID)) _
And (DLookup("[Due]", "tblPMCurrentTask", "[TaskID]=" & Me.TaskID)) <>
"" Then