473,246 Members | 1,584 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,246 software developers and data experts.

Creating a report...can I do this and how?

I have 2 tables, one with dates and information about those dates, and
one with people information. I want to create a report listing each
date and the people who attended on that date (who have that date under
the date column in their table). Can I do it and how?

Also another problem I'm running into is what if the person is on more
than one date? How can I work that out in the tables?

May 1 '06 #1
5 1632
If you only want a report of people that attended on which dates, then
why don't you just sort the people table by dates, and select the
records (dates) you want to print?

-----Original Message-----
From: John [mailto:jo*******@yahoo.com]
Posted At: Monday, May 01, 2006 6:03 AM
Posted To: comp.databases.ms-access
Conversation: Creating a report...can I do this and how?
Subject: Creating a report...can I do this and how?

I have 2 tables, one with dates and information about those dates, and
one with people information. I want to create a report listing each
date and the people who attended on that date (who have that date under the date column in their table). Can I do it and how?

Also another problem I'm running into is what if the person is on more
than one date? How can I work that out in the tables?


May 1 '06 #2
Say I have a people table, and what if they attend more than 1 date...

Like Bob showed up on 12/5/05 and 12/6/05 and 1/3/06
Jimmy on 12/2/05 and 1/6/06....

etc.

And these dates are unknown at the moment, until they are created in
the other table.

May 1 '06 #3
the standard way of doing this is your classic Students-Classes
database.

Student---(1,M)----Attendance---(M,1)---Meeting

Then this is a walk. Base the report on your query of the 3 tables,
and you're off and running.

CREATE TABLE Attendance(
StudentID FOREIGN KEY REFERENCES Student(StudentID),
MeetingID FOREIGN KEY REFERENCES Meeting(MeetingID),
Present BOOLEAN),
PRIMARY KEY(StudentID, MeetingID));

CREATE TABLE Meeting(
MeetingID,
MeetingDate...);

IOW, I think your design doesn't allow for what you're trying to do.
the attendance/roster table is missing. Once you have that, you should
be all set.

May 2 '06 #4
It sounded to me like he was trying to do this from the Access GUI
itself. If that is the case then how would do you a multi-table join at
the GUI level? I also thought he only wanted the list of attendees for
unknown dates. Since he said the date attended was in the attendee
table, then why wouldn't he just sort the attendee table by date
attended, highlight the date(s) he wanted to report, and then print the
selected rows? I didn't get the impression that he was trying to write
some SQL code to do this for him.

-----Original Message-----
From: pi********@hotmail.com [mailto:pi********@hotmail.com]
Posted At: Monday, May 01, 2006 9:12 PM
Posted To: comp.databases.ms-access
Conversation: Creating a report...can I do this and how?
Subject: Re: Creating a report...can I do this and how?

the standard way of doing this is your classic Students-Classes
database.

Student---(1,M)----Attendance---(M,1)---Meeting

Then this is a walk. Base the report on your query of the 3 tables,
and you're off and running.

CREATE TABLE Attendance(
StudentID FOREIGN KEY REFERENCES Student(StudentID),
MeetingID FOREIGN KEY REFERENCES Meeting(MeetingID),
Present BOOLEAN),
PRIMARY KEY(StudentID, MeetingID));

CREATE TABLE Meeting(
MeetingID,
MeetingDate...);

IOW, I think your design doesn't allow for what you're trying to do.
the attendance/roster table is missing. Once you have that, you should
be all set.


May 2 '06 #5
This looks like it is going to work very well, thank you.
I haven't had a chance to play with it too much but the little I did it
looks like just what I need.

May 3 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Páll Ólafsson | last post by:
Hi gurus... Well my problem might be simple to some of you but I can't figure it out. Im trying to export Report to pdf in code but I still getting the same error; "The process cannot access...
2
by: Andrea | last post by:
I'm having some difficulty creating a report in Access and I need some suggestions. My company issues "Return Authorizations" when customers need to return products. A customer calls in and we...
1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
12
by: enak | last post by:
I have found some code that shows how to convert an html form to Word. The message said to simply put the following in the Page_load: Response.ContentType = "application/ms-word"...
3
by: Tyranno.Lex | last post by:
I am using Visual Studio .NET 2003 and have successfully deployed a commercial web application written in C# and ASP.NET. I am now wanting to add reporting using Crystal Reports and am having a...
3
by: erick-flores | last post by:
Hello all I am creating an Expense Report. There are to types of expenses: Company expenses and Reimb Expeneses. The company expenses is under "Expense Details Co" table and Reimb Expenses is...
5
by: KewlToyZ | last post by:
Good day, I am stuck in a strange situation. SQL 2000 Server, creating a stored procedure to use in Crystal Reports 11. I am trying to build a report without creating a table or temprorary table in...
2
by: Andy | last post by:
Hi guys I having a problem creating a report in Access 2003 project talking to a SQL database through and ODBC connect. After hours of trying things from Access Help, MSDN and Google I still...
4
by: sklett | last post by:
I've developed an ERP application that we use internally and works quite well. I receiving more and more requests from users to print various transactions, order forms, search results, etc. I...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.