PC Review


Reply
Thread Tools Rate Thread

access forms and tables

 
 
smsgroi
Guest
Posts: n/a
 
      4th Jan 2010
i made two tables - one for employee infor and the other for trainings they
take. I linked them together and crated a form to input the data. How do i
get it so the employee table has a pull down for the information and vise
versa - they dont seem to join the info
 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      4th Jan 2010
A well-normalized design for what you describe would involve THREE tables.

One table for employees (with EmployeeID).

One table for Trainings (with TrainingID).

One table to document the trainings they take - a junction table (with
EmployeeTrainingID, plus EmployeeID & TrainingID as foreign keys).

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"smsgroi" <(E-Mail Removed)> wrote in message
news:86C9B41C-DBAF-4A0C-8037-(E-Mail Removed)...
>i made two tables - one for employee infor and the other for trainings they
> take. I linked them together and crated a form to input the data. How do i
> get it so the employee table has a pull down for the information and vise
> versa - they dont seem to join the info



 
Reply With Quote
 
Dorian
Guest
Posts: n/a
 
      4th Jan 2010
Add to your form a subform based on the trainings table.
When you add the subform, a wizard will guide you through linking your main
form to the subform. They will be linked based on whatever column you joined
the tables on.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".


"smsgroi" wrote:

> i made two tables - one for employee infor and the other for trainings they
> take. I linked them together and crated a form to input the data. How do i
> get it so the employee table has a pull down for the information and vise
> versa - they dont seem to join the info

 
Reply With Quote
 
Gina Whipp
Guest
Posts: n/a
 
      4th Jan 2010
smsgroi,

You say the info does not join to gether but prior you say you linked them
together. I am not clear how they are joined together. It seems as though
you are missing a table...

tblEmployeeTraining
etEmployeeID (FK)
etTrainingID (FK)

At which point you could have a Main Form to look up Employees and a Subform
to show what Training they have taken or want to add. It would help if you
post the two tables and the fields along with their relationship to each
other.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"smsgroi" <(E-Mail Removed)> wrote in message
news:86C9B41C-DBAF-4A0C-8037-(E-Mail Removed)...
>i made two tables - one for employee infor and the other for trainings they
> take. I linked them together and crated a form to input the data. How do i
> get it so the employee table has a pull down for the information and vise
> versa - they dont seem to join the info



 
Reply With Quote
 
smsgroi
Guest
Posts: n/a
 
      4th Jan 2010
i believe i did that i have the subform for it with column headings that list
employee names - i just dont have any names to pull down from the empoyee
table- if i go to the sub form it copies the name and adds another- i am
trying to have all names in a pull down menu so i can add them to the
training-

"Dorian" wrote:

> Add to your form a subform based on the trainings table.
> When you add the subform, a wizard will guide you through linking your main
> form to the subform. They will be linked based on whatever column you joined
> the tables on.
> -- Dorian
> "Give someone a fish and they eat for a day; teach someone to fish and they
> eat for a lifetime".
>
>
> "smsgroi" wrote:
>
> > i made two tables - one for employee infor and the other for trainings they
> > take. I linked them together and crated a form to input the data. How do i
> > get it so the employee table has a pull down for the information and vise
> > versa - they dont seem to join the info

 
Reply With Quote
 
Gina Whipp
Guest
Posts: n/a
 
      4th Jan 2010
smsgroi,

Do you mean you want a Combo Box? You can add one to your form using the
wizard accessible in the forms design mode.

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"smsgroi" <(E-Mail Removed)> wrote in message
news:04455695-1ECE-44CA-BC15-(E-Mail Removed)...
>i believe i did that i have the subform for it with column headings that
>list
> employee names - i just dont have any names to pull down from the empoyee
> table- if i go to the sub form it copies the name and adds another- i am
> trying to have all names in a pull down menu so i can add them to the
> training-
>
> "Dorian" wrote:
>
>> Add to your form a subform based on the trainings table.
>> When you add the subform, a wizard will guide you through linking your
>> main
>> form to the subform. They will be linked based on whatever column you
>> joined
>> the tables on.
>> -- Dorian
>> "Give someone a fish and they eat for a day; teach someone to fish and
>> they
>> eat for a lifetime".
>>
>>
>> "smsgroi" wrote:
>>
>> > i made two tables - one for employee infor and the other for trainings
>> > they
>> > take. I linked them together and crated a form to input the data. How
>> > do i
>> > get it so the employee table has a pull down for the information and
>> > vise
>> > versa - they dont seem to join the info



 
Reply With Quote
 
smsgroi
Guest
Posts: n/a
 
      4th Jan 2010
i did that- i just cant get the employee information so i can usea pull down
and add it to the class they took

"Dorian" wrote:

> Add to your form a subform based on the trainings table.
> When you add the subform, a wizard will guide you through linking your main
> form to the subform. They will be linked based on whatever column you joined
> the tables on.
> -- Dorian
> "Give someone a fish and they eat for a day; teach someone to fish and they
> eat for a lifetime".
>
>
> "smsgroi" wrote:
>
> > i made two tables - one for employee infor and the other for trainings they
> > take. I linked them together and crated a form to input the data. How do i
> > get it so the employee table has a pull down for the information and vise
> > versa - they dont seem to join the info

 
Reply With Quote
 
smsgroi
Guest
Posts: n/a
 
      4th Jan 2010
ok i did that - i think how do i get the employee info into a pull down menu
box so i do not have to type everyone in every class they take

"Jeff Boyce" wrote:

> A well-normalized design for what you describe would involve THREE tables.
>
> One table for employees (with EmployeeID).
>
> One table for Trainings (with TrainingID).
>
> One table to document the trainings they take - a junction table (with
> EmployeeTrainingID, plus EmployeeID & TrainingID as foreign keys).
>
> Good luck!
>
> Regards
>
> Jeff Boyce
> Microsoft Access MVP
>
> --
> Disclaimer: This author may have received products and services mentioned
> in this post. Mention and/or description of a product or service herein
> does not constitute endorsement thereof.
>
> Any code or pseudocode included in this post is offered "as is", with no
> guarantee as to suitability.
>
> You can thank the FTC of the USA for making this disclaimer
> possible/necessary.
>
> "smsgroi" <(E-Mail Removed)> wrote in message
> news:86C9B41C-DBAF-4A0C-8037-(E-Mail Removed)...
> >i made two tables - one for employee infor and the other for trainings they
> > take. I linked them together and crated a form to input the data. How do i
> > get it so the employee table has a pull down for the information and vise
> > versa - they dont seem to join the info

>
>
> .
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      4th Jan 2010
As suggested by others else-thread, use a main form for the Employee data,
and a subform for the EmployeeTraining data. On the subform, use a combobox
to list available Training.

You can have Access keep the main form and subform coordinated, so that
every time a new "training" is added, the EmployeeID is added with it.

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"smsgroi" <(E-Mail Removed)> wrote in message
news:A1082F64-D192-4FB0-B71F-(E-Mail Removed)...
> ok i did that - i think how do i get the employee info into a pull down
> menu
> box so i do not have to type everyone in every class they take
>
> "Jeff Boyce" wrote:
>
>> A well-normalized design for what you describe would involve THREE
>> tables.
>>
>> One table for employees (with EmployeeID).
>>
>> One table for Trainings (with TrainingID).
>>
>> One table to document the trainings they take - a junction table (with
>> EmployeeTrainingID, plus EmployeeID & TrainingID as foreign keys).
>>
>> Good luck!
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Access MVP
>>
>> --
>> Disclaimer: This author may have received products and services mentioned
>> in this post. Mention and/or description of a product or service herein
>> does not constitute endorsement thereof.
>>
>> Any code or pseudocode included in this post is offered "as is", with no
>> guarantee as to suitability.
>>
>> You can thank the FTC of the USA for making this disclaimer
>> possible/necessary.
>>
>> "smsgroi" <(E-Mail Removed)> wrote in message
>> news:86C9B41C-DBAF-4A0C-8037-(E-Mail Removed)...
>> >i made two tables - one for employee infor and the other for trainings
>> >they
>> > take. I linked them together and crated a form to input the data. How
>> > do i
>> > get it so the employee table has a pull down for the information and
>> > vise
>> > versa - they dont seem to join the info

>>
>>
>> .
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed OLE Excel Pivot Tables in Access Forms? Access v2003 and ff. John Microsoft Access Form Coding 0 30th Oct 2010 06:24 PM
Embed OLE Excel Pivot Tables in Access Forms? Access v2003 and ff. John Microsoft Access Form Coding 0 30th Oct 2010 05:59 PM
CAN YOU LINK ACCESS 2000 TABLES TO FORMS IN 2003 ACCESS DATABASE BJONES6581 Microsoft Access 1 11th Sep 2009 05:12 PM
Access tables to forms JC Microsoft Access Forms 2 12th Jun 2008 12:33 AM
Retrieve no. of forms, tables, etc. from Access DBs =?Utf-8?B?Q29veg==?= Microsoft Access VBA Modules 4 12th Feb 2007 02:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:33 PM.