473,668 Members | 2,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1650
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(Student ID),
MeetingID FOREIGN KEY REFERENCES Meeting(Meeting ID),
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********@hotm ail.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(Student ID),
MeetingID FOREIGN KEY REFERENCES Meeting(Meeting ID),
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
1046
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 the file \"C:\\DOCUME~1\\K10263~1.TNE\\LOCALS~1\\Temp\\export_d6506a79-d0e9-4d98-948c -c42990ffd9f7.tmp\" because it is being used by another process."
2
2221
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 provide the number. The customer then returns items for a refund or for an exchange. Here is the basic set up of the tables in question. -ReturnAuthorizationTable- ReturnNumber_PK CustomerID ReturnType
1
2909
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 2000. The access file is in access 2000 format. I have a form that will hold the relevent parameters for the query/report that reports the statistics for all job records that match a certain criteria. These are: - A Customer Name.
12
4161
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" Response.AddHeader("content-disposition", "inline; filename=BP_CaseStatus.doc") Now all I should have to do is create the page just like I would if I were going to display it in the browser.
3
3045
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 devil of a time doing this. The problem is that my application uses an encapsulated data tier for accessing the database vs. accessing it directly via the client tier. However, EVERY example that I have ever seen for creating a Crystal Report at...
3
1664
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 under "Expense Details" table. So I am creating this final report to see both type of expenses separately but I CANT. I got this report design from a website, but it only came with one "Expense Details" table, so I add the Expense Details Co. The...
5
2522
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 the database. Not too bad but ugly nonetheless. I succedded in creating the process using multiple stored procedures, but the report takes hours to run in Crystal which more less indicates I failed to get a workable solution. I have a few...
2
6069
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 can't get it working. I have a query defined (view) and want the end user to put in a start date and end date to filter a report.
4
3669
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 haven't decided what the best way to do this is because I don't have much experience with generating printable forms. Early on I knew one of my modules would need to print a clear report so I used the open source SharpPDF library to generate the...
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8893
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8797
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8656
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2791
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.