RickLiebespach
Programmer
Using VB.Net...
I have an Access table with the following fields:
Unique_ID - Integer
Completed - Date/Time
User_ID - Integer
I need to get all records for the current user where the Completed field is empty.
I've tried the following but it isn't working right...
I think it's how I'm testing for an empty Date/Time field,
what should it be???
SelectCommand = & _
"SELECT " & _
"Activities.Unique_ID, " & _
"Activities.User_ID, " & _
"Activities.Completed " & _
"FROM Activities " & _
"WHERE Activities.User_ID = " & Session("OCM_User_ID") & _
" AND " & IsDBNull("Activities.Completed")
Rick Liebespach
I have an Access table with the following fields:
Unique_ID - Integer
Completed - Date/Time
User_ID - Integer
I need to get all records for the current user where the Completed field is empty.
I've tried the following but it isn't working right...
I think it's how I'm testing for an empty Date/Time field,
what should it be???
SelectCommand = & _
"SELECT " & _
"Activities.Unique_ID, " & _
"Activities.User_ID, " & _
"Activities.Completed " & _
"FROM Activities " & _
"WHERE Activities.User_ID = " & Session("OCM_User_ID") & _
" AND " & IsDBNull("Activities.Completed")
Rick Liebespach