Ask for date

  • Thread starter PhilT via AccessMonster.com
  • Start date
P

PhilT via AccessMonster.com

I have a situation of asking user to input begin date and end date, but query
keeps give me all previous year. For instance, if I asked for 11/11/2009 to
11/19/2009, it included 11/11/2007 to 11/19/2007, 11/11/2008 to 11/19/2008,
and 11/11/2009 to 11/19/2009.

In table, I have datetime field in GMT. However, in query I have to convert
date and time to local time with this function - convert: dateadd("h",-8/24,
[datetime]). I put Between [begin] and [end] in the convert field.

If I put the Between [begin] and [end] in the datetime field, it queries
correctly.

What did I do wrong here?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top