M
Makelei
Hi,
please help me!
I have made a VBA code to form SQL:
This is working OK:
BLASql = BLASql & " HAVING (((Calendar.Day) Between #25/7/2007# And
Date()+1));"
But I need to have date changing (=> wkStartBLA), so this is the latest one
and is NOT working:
BLASql = BLASql & " HAVING (((Calendar.Day) Between #" & Format(wkStartBLA,
"dd/mm/yyyy") & "# And Date()+1));"
I do hate these date formats! Could you please help me to fix this - thanks.
MakeLei
please help me!
I have made a VBA code to form SQL:
This is working OK:
BLASql = BLASql & " HAVING (((Calendar.Day) Between #25/7/2007# And
Date()+1));"
But I need to have date changing (=> wkStartBLA), so this is the latest one
and is NOT working:
BLASql = BLASql & " HAVING (((Calendar.Day) Between #" & Format(wkStartBLA,
"dd/mm/yyyy") & "# And Date()+1));"
I do hate these date formats! Could you please help me to fix this - thanks.
MakeLei