473,385 Members | 1,766 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,385 software developers and data experts.

Help with data entry forms.

jim
First, I'm completely new to databases and Access so that would explain
it if there turns out to be an obvious solution to my questions. In any
event if you could respond like I don't know what I'm doing it would be
helpful.

I've the following tables:

StudentTable
------------
StudentID
FirstName
LastName
etc.

TestTable
--------------
TestID
TestDate
etc.

StudentTestScores
----------------------------
StudentID
TestID
Score
Proctored by

Teacher Table
------------
Teacher Name
Subject

I'd like to create a form where I can enter data into the Student table
and then enter test scores for a given StudentID (record in the
StudentTable) and a given Test ID (record in the Test Table) and who
proctored the test (record in the TeacherTable) to the corresponding
fields in the StudentTestScores table.

I can't seem to create a combo box that lets me select data from one
table and save it to another -Populate a combo box with Test ID from
the Test Table for example and save it to the Test ID in the
StudentTestScores Table. A combo box gives me the option of storing
that data only in fields that are in the table used to create the form.
I see the option of "remember this data to use later on" but I don't
have a clue how to use it.

any help would be appreciated.

Jim.

Oct 8 '06 #1
1 1162
J
First you need relationships set up between your tables.

Second lets make them more readable:
1) Open up your StudentTestScores table in design view.
2) Go to the StudentID field
3) Go to the "Lookup" Tab
4) Choose the following:
Combo Box
Table/Query
StudentTable
1
3
No
0";0";1"

5) Switch to table view and check out the StudentID field now to
understand what you just did.
6) Repeat similar idea with TestID

7) Open up TestTable and repeat with [Proctored by]

OK! now you're set up.
Now go to Forms and choose "Create Form by Wizard". Make a form for
StudentTable, a form for TeacherTable, a form for TestTable, and a form
for
StudentTestScores.

You can now use those forms to add data. Here is the important part:
You must enter them in this order:
1) Students / Teachers tables
2) Test table
3) StudentTestScores

You can't enter students and tests at the same time. This is the right
way to do it, because once all the students are in there, you never
have to enter them again.

Hope that helps,
~J

jim wrote:
First, I'm completely new to databases and Access so that would explain
it if there turns out to be an obvious solution to my questions. In any
event if you could respond like I don't know what I'm doing it would be
helpful.

I've the following tables:

StudentTable
------------
StudentID
FirstName
LastName
etc.

TestTable
--------------
TestID
TestDate
etc.

StudentTestScores
----------------------------
StudentID
TestID
Score
Proctored by

Teacher Table
------------
Teacher Name
Subject

I'd like to create a form where I can enter data into the Student table
and then enter test scores for a given StudentID (record in the
StudentTable) and a given Test ID (record in the Test Table) and who
proctored the test (record in the TeacherTable) to the corresponding
fields in the StudentTestScores table.

I can't seem to create a combo box that lets me select data from one
table and save it to another -Populate a combo box with Test ID from
the Test Table for example and save it to the Test ID in the
StudentTestScores Table. A combo box gives me the option of storing
that data only in fields that are in the table used to create the form.
I see the option of "remember this data to use later on" but I don't
have a clue how to use it.

any help would be appreciated.

Jim.
Oct 9 '06 #2

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

Similar topics

2
by: Anita C | last post by:
Hi, How do I associate or map a specific column in a datatable to a particular element present in an xml document - to read into a datatable as well as write from the datatable to the xml element?...
0
by: Rob Cheshire | last post by:
Hi to all, I need some help deciding on the best database system for our specific application. OPTIONAL INFO: We currently have 2 separate projects that need to be updated from dos-based dBase. ...
11
by: my-wings | last post by:
I think I've painted myself into a corner, and I'm hoping someone can help me out. I have a table of books (tblBooks), which includes a field (strPubName) for Publisher Name and another field...
1
by: Angus Lepper | last post by:
I'm writing a stock ticker for a stock market simulation, and can load the data into the xmlreader in the first place, but can't figure out how to refresh/update the data in it. Any ideas? Code:...
2
by: filbennett | last post by:
Hi Everyone, I'm generally unfamiliar with Access form design, but have programmed Cold Fusion applications for a couple of years. I'd like to build a data entry form in Access that allows the...
0
by: bpo_ccs | last post by:
We are into BPO and Software development business for past six and half years. We are looking for the following any kind of business from your end. Back Office Process Data Entry, Large Volume...
2
by: gmccallum | last post by:
I have a data entry screen using controls bound through a bindingSource, TableAdaptor and a BindingNavigator to move through the records. When I have an data entry error (such as Null for a value)...
6
by: JOSII | last post by:
Getting a string of boolean value into and out of the registry is no problem. Here's the problem: Although you can place an object into the registry and retreive it, I need to place an ArrayList...
1
imrosie
by: imrosie | last post by:
Please help with this one,,,,,I've been trying everything in my arsenal to fix this one. I'm stumped.... I"ve got a unbound combo box (customername) that has two events (on click); AfterUpdate and...
1
by: Andy | last post by:
Hi Gang I need help. I have an ASP application that in a nutshell allows data entry on a main page. The problem is I'll have users that enter some data and save it. Then they'll enter some...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...

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.