473,513 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Auto populating a table

3 New Member
Hello..

I'm hoping someone could help me out with this access problem..

I want to create a table that draws information from an already populated table (tblEmployee). This new table will include additional fields such as:

Undergrad School (could be more than 1)
Degree Attained (could be more than 1)
Grad School (could be more than 1)
Grad degree (could be more than 1)
Previous Employeer (could be more than 1)

I created a table named tblEEInfo and the field EEID is link to tblEmployee EEID (one to many)

however, when I click on tblEEInfo it has blank information. Any thoughts on how to get this populated? Form or query or report?

Thank you so much!
Jan 23 '08 #1
7 2182
JKing
1,206 Recognized Expert Top Contributor
Hello..

I'm hoping someone could help me out with this access problem..

I want to create a table that draws information from an already populated table (tblEmployee). This new table will include additional fields such as:

Undergrad School (could be more than 1)
Degree Attained (could be more than 1)
Grad School (could be more than 1)
Grad degree (could be more than 1)
Previous Employeer (could be more than 1)

I created a table named tblEEInfo and the field EEID is link to tblEmployee EEID (one to many)

however, when I click on tblEEInfo it has blank information. Any thoughts on how to get this populated? Form or query or report?

Thank you so much!
You can use an INSERT INTO or "Append" query.

Now I'm assuming you want all EEIDs from tblEmployee to be transfered into tblEEInfo.

Here's a query to do that.
Expand|Select|Wrap|Line Numbers
  1. INSERT INTO tblEEInfo ( EEID)
  2. SELECT tblEmployee.EEID 
  3. FROM tblEmployee
  4.  
Jan 23 '08 #2
MindBender77
234 New Member
Hello..

I'm hoping someone could help me out with this access problem..

I want to create a table that draws information from an already populated table (tblEmployee). This new table will include additional fields such as:

Undergrad School (could be more than 1)
Degree Attained (could be more than 1)
Grad School (could be more than 1)
Grad degree (could be more than 1)
Previous Employeer (could be more than 1)

I created a table named tblEEInfo and the field EEID is link to tblEmployee EEID (one to many)

however, when I click on tblEEInfo it has blank information. Any thoughts on how to get this populated? Form or query or report?

Thank you so much!
You could design a "MakeTable" query. You can do this by opening up a new query in design view, change the query type to Make Table.

Next, choose the name of the new table. Then select which table to pull the information from, in your case it will be the tblEmployee table.

This should create a table with all the information you need and criteria you specified.

Hope this Helps,
JS
Jan 23 '08 #3
tiger3p
3 New Member
Hi all...

If a record change in tblEmployee somewhere down the road (employee's last name change) will that update the tblEEInfo?
Jan 23 '08 #4
JKing
1,206 Recognized Expert Top Contributor
This is hard to say without knowing your database design...

You shouldn't be storing the last name in two places though.

I suggest having a look at this article on Database Normalization How To: Database Normalization
Jan 23 '08 #5
tiger3p
3 New Member
Here's how I've envision the table to work:

Fields on tblEmployee:
EEID (primary key)
FirstName
LastName
HireDate
Level
Email
Location

Fields on tblEEInfo:
EEINFOID (primary key)
EEID (connected to tblEmployee)
College1 (coming from tblCollege)
College2 (coming from tblCollege)
Degree1 (coming from tblColDegree)
Degree2 (coming from tblColDegree)
GradSchool1 (coming from tblGradSchool)
GradSChool2 (coming from tblGradSchool)
GradDegree1 (coming from tblGradDegree)
GradDegree2 (coming from tblGradDegree)
PrevEmplyr1
PrevEmplyr2

I want to create a form that will update tblEEInfo to look like this:

FirstName, LastName
HireDate Level
PH# Email
College1
Degree1
College2
Degree2
GradSchool1
GradDegree1
GradSchool2
GradDegree2
PrevEmplyr1
PrevEmplyr2

When the form is opened, the user should be able to enter the data to populate tblEEINFO. The form however should be pulling the name from tblEmployee.

I will then create a report that displays all employees with their respective degrees/college/previous employeers.

Is this hard to do?
Jan 23 '08 #6
felito624
2 New Member
I am having the same problem as tiger3p...if anyone know how to get this accomplished that would be of great help, thank you!!!

I also thought of the Append or Update table option but again have the same question as tiger3p, will any changes to the original tables automatically update the table I created, or do I have to have a macro to periodically update the table?


HELP!!!!
Jun 10 '10 #7
felito624
2 New Member
Not sure if this will work but this is what i am going to try...

Create an update query that updates the info from the tblEmployee to the tblEEInfo.

Create a macro that will run the update query, then open the form to update the tblEEInfo.

As long as you open the from via the macro, your info on your form should be the latest and greatest.

Not sure if this will work, seems like it will, but that's what I'm going to try.
Jun 10 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2269
by: David Shorthouse | last post by:
HI is it posible to auto populate an access database.? I have 1 table structured Index_ID. - Index & auto number First_Name - Char50 Surname - Char50 Initals - Char50 Postcode - Char50 Email_Address - Char50 Mailshots - tick box
7
12835
by: Yannick Turgeon | last post by:
Hello all, I'm using SS2K on W2k. I'v got a table say, humm, "Orders" with two fields in the PK: OrderDate and CustomerID. I would like to add an "ID" column which would be auto-increment (and would be the new PK). But, I would really like to have orders with the oldest OrderDate having the smallest ID number and, for a same OrderDate,...
1
1795
by: Jason Galvin | last post by:
I would like to disable the auto-populating feature (remembers form element text between post-backs) when creating a .NET form. I have succeeded in disabling auto-populate by creating my controls during PreRender, but that becomes highly cumbersome. Is there a way to explicitly turn off auto-populate? I'm pretty sure the form isn't...
1
9393
by: Thumper | last post by:
I have created a "Services" table in Access. Within this table I have a "Services Provided" combo box that lists various services I have populated in a "Products" table. I also have a "Default Price" field in the "Services" table. However, I would like for this field to auto-populate a value once a service is selected from the combo box. I...
4
3413
by: JayV | last post by:
I've created a data entry form. I have multiple fields but the fields "Road Log #" and "Road Name" I want to be bound to each other. I also have a table that lists out 1200 road log numbers and their corresponding road log names. I want the number that is entered into "Road Log #" to auto populate the "Road Name" with the correct name from the...
0
1118
by: lvroye | last post by:
Hi, Thanks to all who responded to my earlier question on this topic. I finally got the data entry form to work and populate the Client's name and sales rep info from the client table, but the populated info is not saved to the target BSR MASTER TABLE. Here is my Control source for the Form: SELECT ., ., ., ., . , ., ., ., ., ., . FROM...
2
2559
by: kkramer | last post by:
I have a table in Access which is auto populating fields which I do not want to happen. If I list a number in a field, and then another number in the field below it, and then a third number, if those numbers happen to coincidentally follow a pattern (for example, 10322,10324,10326), the fields below are auto populating to follow the same pattern....
3
2165
by: Wayne L | last post by:
Ok now everyone has mentioned not to use auto number if it means anything to the user. My application uses the auto number for exporting only. I append the mastertbl column with my starting number of 0001(4 digits) (prior to populating the table). When information is imported and appended via a query to the mastertbl it will start with 0002 and...
3
2009
by: GODSPEEDELECTRONICS | last post by:
My database is simple. It has a table that tracks customers, with they're name, address, etc. I have a price list table that contains "iteminstall" , "price", and "qty" and I have a payment table that trackes date, and payment amount. I have a subform, with the field (textbox) "price." I have it auto populate when I type in something...
4
4830
by: olidenia | last post by:
I need some help or tips on the following. I have a .sql database file with the folowing structure: DROP TABLE IF EXISTS `car`; CREATE TABLE IF NOT EXISTS `car` ( `id` int(10) default NULL, `Make` text, `Model` text,
0
7269
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7177
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7394
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. ...
1
7123
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...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4756
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...
0
3248
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...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.