PC Review


Reply
Thread Tools Rate Thread

date query problems

 
 
=?Utf-8?B?ZmVyZGU=?=
Guest
Posts: n/a
 
      7th Oct 2006
I'm a beginner trying to use parameter date queries to obtain September
records only. I tried using the between [start date] and [end date]
parameter query to obtain September records but no records show up.
No records will show up using this SQL

SELECT Count(Query1.Log) AS CountOfLog, Query1.Disposition, Query1.CallDate
FROM Query1
WHERE (((Query1.Disposition)="Remain In Room") AND ((Query1.CallDate)
Between [start date] And [end date]))
GROUP BY Query1.Disposition, Query1.CallDate;


I have even just typed in the specfic dates in order not to get any records
prior to 08/30/2006 but all of my august records show up anyway. See below:


SELECT Count(Query1.Log) AS CountOfLog, Query1.Disposition, Query1.CallDate
FROM Query1
WHERE (((Query1.Disposition)="Remain In Room") AND ((Query1.CallDate)
Between "08/31/2006" And "10/01/2006"))
GROUP BY Query1.Disposition, Query1.CallDate;

Can someone please help a real beginner
 
Reply With Quote
 
 
 
 
Ken Snell \(MVP\)
Guest
Posts: n/a
 
      7th Oct 2006
Let's stay in the thread that we already have underway. Posting a separate
question doesn't let others see the context of the thread and the
information that has been exchanged.

--

Ken Snell
<MS ACCESS MVP>

"ferde" <(E-Mail Removed)> wrote in message
news:9386C71D-ECB9-4B86-84EC-(E-Mail Removed)...
> I'm a beginner trying to use parameter date queries to obtain September
> records only. I tried using the between [start date] and [end date]
> parameter query to obtain September records but no records show up.
> No records will show up using this SQL
>
> SELECT Count(Query1.Log) AS CountOfLog, Query1.Disposition,
> Query1.CallDate
> FROM Query1
> WHERE (((Query1.Disposition)="Remain In Room") AND ((Query1.CallDate)
> Between [start date] And [end date]))
> GROUP BY Query1.Disposition, Query1.CallDate;
>
>
> I have even just typed in the specfic dates in order not to get any
> records
> prior to 08/30/2006 but all of my august records show up anyway. See
> below:
>
>
> SELECT Count(Query1.Log) AS CountOfLog, Query1.Disposition,
> Query1.CallDate
> FROM Query1
> WHERE (((Query1.Disposition)="Remain In Room") AND ((Query1.CallDate)
> Between "08/31/2006" And "10/01/2006"))
> GROUP BY Query1.Disposition, Query1.CallDate;
>
> Can someone please help a real beginner



 
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
Date Parameter problems between the Query and Form eschloss Microsoft Access Queries 1 25th Aug 2008 05:22 PM
Problems with Date calculation in Query Murphybp2 Microsoft Access Queries 3 19th Dec 2006 03:10 PM
Problems with date query =?Utf-8?B?Q2hhcmxlcyBpbiBJcmFx?= Microsoft Access Queries 3 25th Nov 2006 05:37 AM
problems with a query on a date field Kris Microsoft Access Queries 4 4th Feb 2006 06:21 AM
Date interval problems query Angelina Microsoft Access Queries 1 22nd Nov 2003 10:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:25 PM.