SonicBoomAu
Well-known member
Hi All,
I am trying to search through a database and select items which meet the follow statement.
item signout between date1 and date2 (ie. 10 jan 05 - 20 mar 05) and where signin dates is between date1 and date2.
I have two columns called SignInDate and SignOutDate.
So far my statement is as follows.
[VB]
strNewSQLStatement = "SELECT * From IssueHistory WHERE " & _
SignOutDate <= strDVDate1 And _
SignInDate >= strDVDate2
[/VB]
I am trying to search through a database and select items which meet the follow statement.
item signout between date1 and date2 (ie. 10 jan 05 - 20 mar 05) and where signin dates is between date1 and date2.
I have two columns called SignInDate and SignOutDate.
So far my statement is as follows.
[VB]
strNewSQLStatement = "SELECT * From IssueHistory WHERE " & _
SignOutDate <= strDVDate1 And _
SignInDate >= strDVDate2
[/VB]