A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how to key in details into subform



 
 
Thread Tools Display Modes
  #1  
Old November 30th, 2009, 03:09 AM posted to microsoft.public.access.forms
melzoh
external usenet poster
 
Posts: 1
Default how to key in details into subform

hi,
Im currently doing up a database for a tuition centre.
The problem now is, I have to add students into the system. I have a form
already
Currently, the form has the following fields:
First Name
Last Name
Contacts
Level (grade 9,10,11,12)
Subject 1 (english, maths, science)
Subject 2
Subject 3

In my subform, I actually want to add in the classcode which is related to my
other tables
eg. English Grade 9 = 9E-101 (where 101 is the teacher's ID)
however, I do not know how to key it into the subform. is there any formula i
can use?
pls do get back to me soon as this is rather urgent! ]:

  #2  
Old November 30th, 2009, 04:49 AM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default how to key in details into subform

On Mon, 30 Nov 2009 03:09:13 GMT, "melzoh" u56567@uwe wrote:

hi,
Im currently doing up a database for a tuition centre.
The problem now is, I have to add students into the system. I have a form
already
Currently, the form has the following fields:
First Name
Last Name
Contacts
Level (grade 9,10,11,12)
Subject 1 (english, maths, science)
Subject 2
Subject 3

In my subform, I actually want to add in the classcode which is related to my
other tables
eg. English Grade 9 = 9E-101 (where 101 is the teacher's ID)
however, I do not know how to key it into the subform. is there any formula i
can use?
pls do get back to me soon as this is rather urgent! ]:


STOP!

You're apparently making a very common mistake: starting building your
database in the middle. If you were building a house, you wouldn't start
framing in the walls before you'ld poured the foundations!

What are your Tables? How are they related? The Tables are *fundamental*; the
Forms are only windows, tools to manage data stored in the tables. If you're
building your form first, you're on the wrong track.

A classic student - class database will have (at least) four tables:

Students
StudentID (Primary Key)
LastName
FirstName
other biographical data, nothing about classes

Classes
ClassCode text, primary key
CourseName e.g. English
other info about the class

Enrollment
EnrollmentID autonumber primary key
StudentID link to Students
CourseID link to Classes

Teachers
TeacherID
LastName
FirstName
other personal data

--

John W. Vinson [MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.