F
FSt1
i am trying to use an SQL statement in code to return a
date. if it returns null then skips an action. if it
returns a date then code should color a fond red.
but i cant get the statement to return anything but null.
what am i doing wrong.
Dim stgSQL As String
stgSQL = "SELECT tblHolidays.HDate FROM tblHolidays " & _
"WHERE (((tblHolidays.HDate)=[Forms]!
[frmCalendar]![txtD1]));"
thanks in advance.
date. if it returns null then skips an action. if it
returns a date then code should color a fond red.
but i cant get the statement to return anything but null.
what am i doing wrong.
Dim stgSQL As String
stgSQL = "SELECT tblHolidays.HDate FROM tblHolidays " & _
"WHERE (((tblHolidays.HDate)=[Forms]!
[frmCalendar]![txtD1]));"
thanks in advance.