Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query date but not date......

Status
Not open for further replies.

gnibbles

Programmer
Mar 15, 2000
79
CA
Im trying to do a query of dates but they arent classified as dates so the Between function for criteria doesnt work and if I try and use >= function and in the criteria use or <= it comes with dates outside the margin I want. If someone can help me I would appreciate it. Thanks.
 
Have you tried using the CDate Function to convert to a date format first?  That should allow you to use the Between...And function.  Hope that helps.
 
well create a macro in that use the vb cdate function and then convert both the valuse into date and then convert it <br> <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
 
but all is there is the month, I wish it was so easy as to convert it. And then there is another separate field called year that I have to break it down to as well andit comes back with all years.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top