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  

Date format in crosstab query



 
 
Thread Tools Display Modes
  #1  
Old September 11th, 2005, 09:43 PM
Matt
external usenet poster
 
Posts: n/a
Default Date format in crosstab query

I have a crosstab query where the value crosstab outputs a date. I want it to
output in medium date format but it always gives the general date format.
Every time I change the format for the column, save and close the query then
open it again the format I specified disappears. Any ideas?
  #2  
Old September 12th, 2005, 12:58 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Is there a reason why you would not adjust the format/display in a form or
report control?

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have a crosstab query where the value crosstab outputs a date. I want it
to
output in medium date format but it always gives the general date format.
Every time I change the format for the column, save and close the query
then
open it again the format I specified disappears. Any ideas?



  #3  
Old September 12th, 2005, 07:01 AM
Matt
external usenet poster
 
Posts: n/a
Default

Good question. I have been using the query as the output rather than a form
or report because I cannot get the latter to adapt to changing number of
columns. I had to rebuild the form/report each time the number of columns
changed. I thought about writing a macro to create a report each time I ran
the query and then delete it when finished viewing. Thoughts?

"Duane Hookom" wrote:

Is there a reason why you would not adjust the format/display in a form or
report control?

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have a crosstab query where the value crosstab outputs a date. I want it
to
output in medium date format but it always gives the general date format.
Every time I change the format for the column, save and close the query
then
open it again the format I specified disappears. Any ideas?




  #4  
Old September 12th, 2005, 07:32 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

There are some sample crosstab reports at
http://www.invisibleinc.com/divFiles.cfm?divDivID=4. The Crosstab.mdb has a
solution for dynamic headings.

I assume your crosstab column headings are not date/time intervals....?

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
Good question. I have been using the query as the output rather than a
form
or report because I cannot get the latter to adapt to changing number of
columns. I had to rebuild the form/report each time the number of columns
changed. I thought about writing a macro to create a report each time I
ran
the query and then delete it when finished viewing. Thoughts?

"Duane Hookom" wrote:

Is there a reason why you would not adjust the format/display in a form
or
report control?

--
Duane Hookom
MS Access MVP
--

"Matt" wrote in message
...
I have a crosstab query where the value crosstab outputs a date. I want
it
to
output in medium date format but it always gives the general date
format.
Every time I change the format for the column, save and close the query
then
open it again the format I specified disappears. Any ideas?






 




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 for 'confirmation' rogge Running & Setting Up Queries 8 April 19th, 2005 03:26 PM
Crosstab query with irregularly-spaced dates Carl Rapson Running & Setting Up Queries 2 March 17th, 2005 10:42 PM
Big number gives error! Sara Mellen Running & Setting Up Queries 8 October 11th, 2004 02:48 AM
Date range in crosstab query ew Running & Setting Up Queries 6 October 4th, 2004 03:46 PM
Crosstab query with same VALUE in multiple columns ChrisJ Running & Setting Up Queries 1 June 20th, 2004 10:41 PM


All times are GMT +1. The time now is 07:03 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.