PC Review


Reply
Thread Tools Rate Thread

Creating a report

 
 
Christina G.
Guest
Posts: n/a
 
      23rd Apr 2010
Using a date of birth feild. How can I creat a report by people who were 5
by 12/2/10? The access program I use is 2003
 
Reply With Quote
 
 
 
 
John Spencer
Guest
Posts: n/a
 
      23rd Apr 2010
Well to be five or over on 12/2/10 there dob would have to be equal to or
greater than that date 5 years ago.

So use criteria to filter the data
<= DateAdd("yyyy",-5,#12/2/10#)

Your date is ambiguous. Is it supposed to be December 2, 2010 or February
12, 2010? If you are using a date literal such as 12/2/10 then you must
express that date in the form month day year or year month day (yyyy-mm-dd).

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Christina G. wrote:
> Using a date of birth feild. How can I creat a report by people who were 5
> by 12/2/10? The access program I use is 2003

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to run report creating by Crystal Report 9 zazie Microsoft Access Form Coding 0 30th Apr 2008 09:18 AM
DATABASE CRASHES when creating new report from existing report Sammie Microsoft Access Database Table Design 6 25th Jan 2008 01:55 AM
Help creating a report. How to implement logic in the report =?Utf-8?B?cmljaA==?= Microsoft Access Reports 4 30th Oct 2007 08:03 PM
Creating a very simple report: Crystal Report and SetParameterValue ? Rodo Microsoft C# .NET 1 27th Apr 2007 02:58 PM
PLEASE HELP!! Creating report, need to add fields in report from a table based on combo box value in form buddycheck240@yahoo.com Microsoft Access Reports 3 26th Aug 2005 08:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:31 AM.