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 VBA
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 February 25th, 2004, 12:48 PM
Authorized User
 
Join Date: Jan 2004
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting the data in columns - like Pivot Table

I'm working on a timetable. Naturally the database table contains the date code, subject code, lecturer code, etc. How can I get this tree looking timetable into a columnar table with the days spreading to the right. I can get the Pivot Table view but it's not as flexible as Excel.

Thanks for the prospective thoughts!
Reply With Quote
  #2 (permalink)  
Old February 26th, 2004, 07:11 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe a crosstab query broken up by day would work.



Sal
Reply With Quote
  #3 (permalink)  
Old February 29th, 2004, 03:28 AM
Authorized User
 
Join Date: Jan 2004
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sal,

Thanks for the idea, I didn't use the crosstab query before. Tried it only to find that it gives me the 'sum' or 'count' etc. of the subjects. It won't give me the name of the subject, though a data access page could do that.

Another thing: If there is a way of getting the subject names shown, could I have it transferred onto a report (without much coding)

Thanks...
Reply With Quote
  #4 (permalink)  
Old February 29th, 2004, 11:00 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Clarksville, TN, USA.
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you referring to the column names?




Sal
Reply With Quote
  #5 (permalink)  
Old February 29th, 2004, 02:31 PM
Authorized User
 
Join Date: Jan 2004
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes.

And, by the way, one correction. I think I've been using the term 'column' in the wrong way. Should have said "tabular" I believe.. Sorry. I have tried to create a report using a wizard and it worked fine. But the days, or the classes will change, and the design of the report will need to be changed as well...

Thanks

Murat
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
Pivot Table Dynamic Reference Data oyelesit Excel VBA 2 August 4th, 2006 07:28 AM
How to set indexes on columns in a data table hdewees VB Databases Basics 1 June 5th, 2006 02:42 PM
How to replace pivot table data fields using VBA? rstober Excel VBA 2 August 19th, 2005 06:06 AM
Pivot Table mikeparams SQL Server 2000 1 February 9th, 2005 10:10 AM
ASP/SQL data in HTML table columns spinout Classic ASP Basics 2 January 9th, 2005 07:02 AM



All times are GMT -4. The time now is 09:00 PM.


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