Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: more on text to date stuff


Message #1 by "Jacobson, John" <jacobs35@c...> on Wed, 31 Jan 2001 08:29:54 -0500
hello all

thanks for your help so far



have a new problem, and im sure its just general frustration getting to me.



to get the code to work i had to add # signs to tell it to look for a date,

but now it works, but i dont get any returns on my search.



any ideas.



btw the new code looks like this



If Request.Form("status") = "pendweek" Then

	Set WO = Server.CreateObject ("ADODB.Recordset")

	Query = "SELECT * FROM WorkOrders WHERE Pending_due<=#" &

DateAdd("d",7,Date())& "# ORDER BY ID"

	WO.Open Query, Connect

End IF



thanks again

/john


  Return to Index