|
DaveKstl -> RE: I need help with a Date Lookup Query (1/25/2008 17:41:31)
|
Not sure I understand but mySQL = "Select PeriodDate From Table Where Request.Form("DateText") Between BegDate AND EndDate" The customer enters the Request.Form("DateText") let's say 1/25/2008 as a text entry. The lookup then check for a value Between BegDate (beginning) AND EndDate (end). So the BegDate = 01/05/2008 and the EndDate in the table is 02/04/2008, 1/25/2008 falls between so I should get a return PeriodDate of 2/1/2008 Unfortunately, I am challenged with the Text Filed form the form being changed to a value value that works in the query.
|
|
|
|