A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I set up Date query in a crosstab query?



 
 
Thread Tools Display Modes
  #1  
Old September 24th, 2004, 05:31 PM
Doddysgirl
external usenet poster
 
Posts: n/a
Default How do I set up Date query in a crosstab query?

I have set up a crosstab query that works fine.
I now want to have the user enter the beginning and ending dates for this
query.
I am unable to make this work.
Does anyone know how to make this work?
  #2  
Old September 24th, 2004, 07:48 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Make sure you set the query parameter data types. Menu select
Query-Parameters and enter your parameters and types.

--
Duane Hookom
MS Access MVP
--

"Doddysgirl" wrote in message
...
I have set up a crosstab query that works fine.
I now want to have the user enter the beginning and ending dates for this
query.
I am unable to make this work.
Does anyone know how to make this work?



  #3  
Old September 24th, 2004, 08:20 PM
MGFoster
external usenet poster
 
Posts: n/a
Default

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Template like this:

PARAMETERS BeginningDate Date, EndingDate Date;
TRANSFORM ...
SELECT ...
FROM ...
WHERE Date_column BETWEEN BeginningDate And EndingDate
GROUP BY ...
PIVOT ..

--
MGFoster:::mgf00 at earthlink decimal-point net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQVRzeYechKqOuFEgEQKjjACg4qWPMLLfrxlINIrLxXL7sL 6KsNYAn0Oq
SoTgNgSALDJKXoVGMFuk5jm6
=U1qn
-----END PGP SIGNATURE-----


Doddysgirl wrote:

I have set up a crosstab query that works fine.
I now want to have the user enter the beginning and ending dates for this
query.
I am unable to make this work.
Does anyone know how to make this work?


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Query Criteria where a single date comes from a form Gary O Running & Setting Up Queries 3 July 23rd, 2004 05:24 PM
Crosstab query in report Vincent DeLuca Setting Up & Running Reports 19 July 13th, 2004 04:02 AM
Aggregating Date Data into Weeks and Quarters Roger Running & Setting Up Queries 3 July 11th, 2004 05:56 PM
Date Order in Crosstab Query Bill Database Design 5 May 4th, 2004 06:09 PM
Does date fall between two ranges? MR Worksheet Functions 4 January 14th, 2004 04:08 PM


All times are GMT +1. The time now is 04:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.