Ok, so now I'm here...
"', " & _
IIf(Nz(dtmStart, "") = "", "", Chr(35) & dtmStart & Chr(35)) & _
", " & _
IIf(Nz(dtmEnd, "") = "", "", Chr(35) & dtmEnd & Chr(35)) & _
", '" & _
and when I have blank dates using the above I get this for a string check...