473,790 Members | 2,561 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.

StudentTestScor es
----------------------------
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 StudentTestScor es 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
StudentTestScor es 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 1176
J
First you need relationships set up between your tables.

Second lets make them more readable:
1) Open up your StudentTestScor es 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
StudentTestScor es.

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) StudentTestScor es

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.

StudentTestScor es
----------------------------
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 StudentTestScor es 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
StudentTestScor es 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
5143
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? Also, how can I associate all the attributes and their values of a particular element to the Name & Value columns of a datatable - to read into a datatable as well as write from the datatable to the xml element? Any help will be greatly...
0
1693
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. I'll only describe one of these but the other is comparable in size. The project currently has about 32 files. The 2 largest are about 30,000 records and 5 columns include data from the last 30 years. The other 30 files are created by year...
11
2807
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 (strPubCity) for Publisher City. These two fields have a many-to-one relationship with tables, (tlkpPubName and tlkpPubCity) respectively. The lookup tables only have one field (strPubName and strPubCity), which is their primary key. I also have...
1
2314
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: Public Class Form1 Inherits System.Windows.Forms.Form
2
5059
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 following. First, the data schema: Three tables are involved. The first is a PERSONS table which has two fields, SSNUMBER (primary key), and NAME.
0
1789
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 Data Processing, Data Conversion, Forms Processing, Process flow & Quality Data Entry Text, Numeric or Alphanumeric entry, Printed or Handwritten matter, Hardcopies or Scanned Images, Some typical examples include, Mortgage Documents, Abstract...
2
4526
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) I get the following error raised all the way to the App.Run command. This is not a dataGridView, so I can not use that DataError event to catch it. I have tried the BindingSource_DataError event, but that does not seem to get fired. There is...
6
1681
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 object with 10 string items into the registry and retreive them later. I tried this: key.SetValue("lstNSXitems", lstNSX.Items) where "lstNSXitems" is the name of the subkey, and lstNSX.Items is the
1
1874
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 NotInList. The AfterUpdate uses a 'me.recordsetclone' in order to display other data in controls associated with customerid/customername from the Customer table. The NotInlist, does just that, adds a new customer name to the list along with...
1
2912
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 more data and then leave it for 30 mins, 2 hours or whatever. So when they come back they've lost the session state and when they try to save their data, the application goes to a friendly error page saying they've lost the state.
0
10413
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
10200
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...
1
10145
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
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...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3707
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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.