Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 28th, 2009, 05:06 AM
Registered User
 
Join Date: Jan 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic report

Would anyone care to provide asssitance on how I may to able to produce a report as if I am creating an excel worksheet based on data entered into my table monthly? Here is an explantion of what I am trying to achieve in Access.

I have 2 tables: One that stores my contacts list, and another that I use to record the date of the courses I conduct for my clients and the number of attendees. the number of courses and dates are not fixed per month and may vary. I have created a form to enter this data and table to store it

Eg.

Client AAA
Course date: 1/2/2009
No of attendees: 3

Client BBB
Course date: 1/2/2009
No of attendees: 5

Client CCC
Course date: 1/2/2009
No of attendees: 1

Client AAA
Course date: 15/2/2009
No of attendees: 2

Client BBB
Course date: 15/2/2009
No of attendees: 4

Client CCC
Course date: 15/2/2009
No of attendees: 1

Client AAA
Course date: 6/3/2009
No of attendees: 3

Client BBB
Course date: 6/3/2009
No of attendees: 5

Client CCC
Course date: 6/3/2009
No of attendees: 7

I would like to create a report that would print out the date of the courses and number of attendees in table form.

Eg

Company 1/2/2009 15/2/2009 6/3/2009 ... total

AAA 3 2 3 ... 8

BBB 5 4 5 ... 14

CCC 1 1 7 ... 9
 
Old January 29th, 2009, 04:15 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You need to make a cross tab query. You won't get a total that way, but you can put the total in a header or footer. Do you need help with that?
__________________
mmcdonal

Look it up at: http://wrox.books24x7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
visibility dynamic in report ermy78 Access 2 December 18th, 2006 06:19 PM
Dynamic Report By selection ... mostafa_h BOOK: Professional Crystal Reports for VS.NET 0 August 11th, 2006 07:02 AM
Dynamic Report DARSIN Crystal Reports 2 January 21st, 2006 04:52 AM
Dynamic report pawa Crystal Reports 0 September 22nd, 2005 11:44 PM
Dynamic crystal report n_alavii Crystal Reports 0 May 11th, 2005 04:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.