Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 23rd, 2006, 10:13 PM
mmk mmk is offline
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Calendar" dispaly format

Dear All,

i have a query result same as following List1, my boss want me to show it like this: please help.

            (Hour)
Date/Hour 9:00 10:00 11:00....
---(date)1 2 80 ....
-------- 2 14 98 ....
---------3

List1:
TimeInHour TimeInDate Visitor_NumOfSum
 09 01 2
 09 02 14
 09 04 13
 09 05 9
 09 06 12
 09 07 4
 09 13 16
 09 14 1
 09 16 9
 09 17 6
 09 20 6
 09 21 2
 10 01 80
 10 02 98
 10 03 66
 10 04 92
 10 05 136
 10 06 73
 10 07 44
 10 09 46
 10 10 37
 10 11 70
Reply With Quote
  #2 (permalink)  
Old May 24th, 2006, 07:53 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

I can't really make this out, but it looks like you want a cross tab query.

Create the query and add the fields you want to show. It looks like 3 fields.

Then Select Query > Cross Tab Query.

Then select Date for Row Heading, Hour for Column Heading, Visitors as Value, and Group by Count.

That should do it.

Does that work for you?


mmcdonal
Reply With Quote
  #3 (permalink)  
Old May 24th, 2006, 11:48 PM
mmk mmk is offline
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

mmcdonal , i got it thanks a lot

Reply With Quote
  #4 (permalink)  
Old May 25th, 2006, 06:48 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

SO that worked as you wanted, or did you come up with something else?

mmcdonal
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar like calendar in AJAX in ASP.NET h@ckerz ASP.NET 2.0 Professional 0 February 19th, 2008 12:56 AM
how to dispaly data in combobox from access? amit_mande@yahoo.com VB.NET 2002/2003 Basics 4 October 30th, 2006 09:11 AM
dispaly date prob... help... abhit_kumar JSP Basics 1 January 7th, 2005 12:55 PM
dispaly date prob... help... abhit_kumar MySQL 1 December 14th, 2004 04:32 AM
dispaly date prob... help... abhit_kumar JSP Basics 0 December 3rd, 2004 08:00 AM



All times are GMT -4. The time now is 11:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.