We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


FrontPage DRW and searching by date....

jfs9900 asked
Medium Priority
Last Modified: 2013-12-24
Ok I have an MS Access DB with a field called "DATE" marked as data type "Date/Time"

Now lets say I want to setup a search with Front Page to search for specific months, or specific years. Like for example return results only in March, or only in April etc?

Watch Question


First of all you can't name the field as Date, it is a reserved word,  it will create problems later.

It depends how are you entering the month or the year?  are you using the Date/Time field to type today's date like:


Lets say you want to view results by March?  only results during 03?

The esiest way it to search for 03/01/2006 to 03/31/2006  this is to specify March 2006,  or 01/01/2004 to 12/31/2004 to specify year 2004.

In your search form you should put two search fields
- Field 1 name it as stdate
- Field 2 name it as endate

Create a DRW and create a statement that searches Between.

Save the DRW
Post the form to the DRW


The offical name of the feild is "TIMESTAMP"

When I do what is listed above I get the following error:

Database Results Error
Description: Data type mismatch in criteria expression.
Number: -2147217913 (0x80040E07)
Source: Microsoft JET Database Engine

Timestamp field is the problem.

I usually create two fields on my own 1 for date and 1 for time I don't rely on the TimeStamp field that is created by Frontpgae.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.