473,385 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Date criteria in a query or report

Please help, I'm trying to query a list of dates with only 09/01/xx - 09/30/xx. Doesn't that require writing an expression in the criteria field?? If so, what?
Sep 6 '06 #1
6 3761
PEB
1,418 Expert 1GB
In fact in the Critera you have to type:

Between Cvdate("01/09/2006") AND Cvdate("30/09/2006")
Sep 6 '06 #2
In fact in the Critera you have to type:

Between Cvdate("01/09/2006") AND Cvdate("30/09/2006")
Thank you PEB, is it possible to retrieve all sept. dates no matter what year (i.e. 9/4/02,09/06/05,09/01/03 ??)
Sep 6 '06 #3
PEB
1,418 Expert 1GB
Yes You can do the follow:

In your query column containing your Date you type:

My_formated_date:Format([your Date];"dd/mm/yyyy")
In the criteria you type Like "09/*"

And you obtain all dates that begin with 09!

Does this help you? :)
Sep 6 '06 #4
PEB
1,418 Expert 1GB
If you use an expression like Format([My_date],"dd/mm/yyyy") Firstly is your day

So you have to change the epression to "mm/dd/yyyy" ;)
Sep 6 '06 #5
If you use an expression like Format([My_date],"dd/mm/yyyy") Firstly is your day

So you have to change the epression to "mm/dd/yyyy" ;)
You got me confused with post #4, where do I type : My_formatted_date.......??
Sep 6 '06 #6
PEB
1,418 Expert 1GB
Ok!
This expression you have to put in the first row, not matter which column in your query gird

The olace you usually put the field Names

Instaed a field Name

Just where it is wrote in left Field! :)
Sep 6 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Bob Sanderson | last post by:
I am using the following query to calculate a date for a report ... Cal Due: DateAdd("m",!,! ) I now need to select all records whose Cal Due date is less than the date of the report. I have...
4
by: Greg Iocco | last post by:
Simple problem, but I've checked the newsgroups and couldn't find an answer. On the main swithboard is a command button to open a report. The report I built is based off a query, and the query...
2
by: Rene | last post by:
I have a master "attendance" report that also has two "attendance" sub-reports...each collecting data from a different group...and totaling those present at the end. I chose sub-reports because...
6
by: Megan | last post by:
Hi everybody- I'm trying to use a checkbox to control whether or not a date field in a query "Is Null" or "Is Not Null." I have 2 date fields: InDate and OutDate. If there is an OutDate, then...
12
by: Steve Elliott | last post by:
I have a query set up to gather together data between two specified dates. Shown in the query column as: Between #24/09/2004# And #01/10/2004# Is it possible to enter several different date...
3
by: manning_news | last post by:
Using A2K. I've been asked to modify a report currently requiring only one date parameter to now accept a date range. The main report has 2 subreports and is not bound to a table or query. The...
1
by: Rinee | last post by:
Hi, I have a database of a bunch of contractors who have signed a safety agreement with us, their contact info, their insurance info, etc. Each was assigned an ID number as the main key. Each...
13
by: Alan | last post by:
Hi Have asked before elsewhere but think I will have to rephrase the question. Using MS Access, what's the best way of tackling dates if I want to list all say; birthdays/birthdates in a date...
3
by: Scotter | last post by:
Hi, I've been trying to make a report that will show the deliverys to be made between 2 dates, or the deliverys to be made after a certian date, or the deliveries that were made before a certian...
1
by: JLeitner08 | last post by:
I have a report that has criteria in the query, that will ask for a starting and ending date, a location, and a type. Alone, the parameters work great for the report. Now I want to add a subreport...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.