472,342 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

database table/form design

I have a database that contains the details of pupils in a school.
What I would like to do may not be possible but I thought I would ask
anyway. Each year the pupils move to a different class, there are 8
classes in each year that are named with the year and the class
teachers initials e.g 5FS would be a year 5 class, teacher Fred Smith.
So every year I have to change the class the pupils are in, thereby
losing the classes they have been in previously. I would like to set
up the form so that I have current class showing on the form header.
The form has tabs that have relevant info (from sub tables/forms) for
each year, so in those places I would like to store the previous class
the pupil was in. Rather than having to type things more than once
would this senario work:

If the current class is 5* then copy to year 5 class in the year 5 tab
page
If the current class is 6* then copy to year 6 class, and so on.
So in the form header I would have a field current class and in each
tab on the form I would have year 5,6,7,8 class that would be copied
from the current class, but when year 5 class changes to year 6 I want
the year five class to stay in the year 5 field and the new class to
be the current class.

I really don't have much experience in Access, I am self taught and so
I may be expecting too much. I hope I have explained myself clearly
enough and somebody can help me with this.
Thank you"
Nov 12 '05 #1
1 3516
Yes, you do need to rethink your table design. If you have a Student record
with five Fields for Class, then your table design is going to make working
with your database difficult. For a brief, overview, tutorial on data
structure, take a look at the presentation I did for my user group, entitled
"Practical Table Layout" which you can download from
http://appdevissues.tripod.com.

See if that is a help... first look at the logical design of your tables to
model the real world, NOT at how you might fill a particular type of
form/control in your user interface. It may turn out that what you had in
mind for an interface really is not the best -- if you've structured your
data based on the relationships between data items, then it will be easy to
modify; if you've structured it based on your initial impression of the
forms you might use, it is likely to be difficult to modify.

"Corinne" <CR******@aol.com> wrote in message
news:f4**************************@posting.google.c om...
I have a database that contains the details of pupils in a school.
What I would like to do may not be possible but I thought I would ask
anyway. Each year the pupils move to a different class, there are 8
classes in each year that are named with the year and the class
teachers initials e.g 5FS would be a year 5 class, teacher Fred Smith.
So every year I have to change the class the pupils are in, thereby
losing the classes they have been in previously. I would like to set
up the form so that I have current class showing on the form header.
The form has tabs that have relevant info (from sub tables/forms) for
each year, so in those places I would like to store the previous class
the pupil was in. Rather than having to type things more than once
would this senario work:

If the current class is 5* then copy to year 5 class in the year 5 tab
page
If the current class is 6* then copy to year 6 class, and so on.
So in the form header I would have a field current class and in each
tab on the form I would have year 5,6,7,8 class that would be copied
from the current class, but when year 5 class changes to year 6 I want
the year five class to stay in the year 5 field and the new class to
be the current class.

I really don't have much experience in Access, I am self taught and so
I may be expecting too much. I hope I have explained myself clearly
enough and somebody can help me with this.
Thank you"

Nov 12 '05 #2

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

Similar topics

1
by: John | last post by:
I'm developing an application for medical use that will be used to capture patient background and visit data. The application will have...
2
by: Mike | last post by:
Hi I have been tasked with converting my pulp and paper mills weekly projected and actual contractor hrs excel spreadsheet into a an Access 97...
3
by: James Armstrong | last post by:
Hi all, (warning - long post ahead) I have been tasked with designing a database for my company which will store trade information (it is a...
5
by: William Wisnieski | last post by:
Hello Everyone, I'm really stuck on how to design this application, so I thought I'd see if anyone had any general ideas on how to proceed. I'd...
29
by: MP | last post by:
Greets, context: vb6/ado/.mdb/jet 4.0 (no access)/sql beginning learner, first database, planning stages (I think the underlying question here...
4
by: danthrom | last post by:
Hi, I have a database with four tables. tbl_Client client_alias (PK, text) tbl_Matters matterID (PK, autonumber) matter (text) client_alias...
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

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.