|
-
Apr 18th, 2005, 11:18 AM
#1
Thread Starter
Addicted Member
Reporting problem-----solved
I ahve three linked tables, studentnames, classnames and attendance. The studentnames and classnames are linked to the attendance table using the ID numbers(primary keys). When making a new report for the attendance table is it possible to have the actual names of students and classes appear in the report rather then the numbers linking them?
if not is there any good way of getting around this
Last edited by chris lynch; Apr 20th, 2005 at 07:59 AM.
11 is the magic number
-
Apr 18th, 2005, 07:52 PM
#2
Hyperactive Member
Re: Reporting problem
Yes it is you should have a query (where your report gets its data) like:
Code:
SELECT a.ID, a.somefields, s.StudentName, c.ClassName
FROM Attendance a JOIN Students s ON s.Code = a.StudentCode
JOIN Classes c ON c.Code = a.ClassCode
optional where clause
-
Apr 19th, 2005, 08:23 AM
#3
Thread Starter
Addicted Member
Re: Reporting problem
you'll have to bear with me now. this is first time using access, doi make the query with the query wizard and where do i put the code.. Can you help a little more please.
-
Apr 19th, 2005, 07:02 PM
#4
Hyperactive Member
Re: Reporting problem
I'm not using Access anymore. But there's a new button there and after you click it, a "New Query" window will appear. Choose Design View, then click Close and click View (on the main menu) then SQL View. Then you can type your query there. or paste the code I suggested and edit it base on your table/fields name. Let me know if you need more help.
-
Apr 20th, 2005, 03:19 AM
#5
Thread Starter
Addicted Member
Re: Reporting problem
I made a query without the code, its all the same is it? I just filled in the fields in the design view
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|