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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Needing help automatically generating info from a table to a form



 
 
Thread Tools Display Modes
  #1  
Old December 21st, 2009, 03:47 AM posted to microsoft.public.access.tablesdbdesign
needing help
external usenet poster
 
Posts: 4
Default Needing help automatically generating info from a table to a form

I'm creating a database for a project at work and I'm a little rusty with
Access 2003 so any help would be greatly appreciated. I've started with a
table that I have imported from Excel that contains the employee's clock
number, their name and their supervisor in respective columns. I would like
to create a form that has three boxes. The first is a box that allows the
user to key in (or possibly select) an employee clock number. Once this is
completed I would like for the employee's name and supervisor to
automatically appear underneath the first box. I'm pretty for sure that doing
this has something to do with primary and foreign keys but not 100% sure on
that. After searching through my Access 2003 book and the internet I'm at a
loss. Does anyone have any advice that could help me out? Thanks so much in
advance!
Ads
  #2  
Old December 21st, 2009, 02:26 PM posted to microsoft.public.access.tablesdbdesign
BruceM via AccessMonster.com
external usenet poster
 
Posts: 448
Default Needing help automatically generating info from a table to a form

You have sescribed just one table. With a single table there will be no
foreign key. However, there should be at least two tables, and probably more,
depending on what you want to do after selecting the clock number. Do you
meant to enter some sort of information about hours worked or some such thing?


There almost certainly should be an Employee table. Supervisors are
employees (I expect), so they should be listed in the Employee table. All
employees need a unique identifying number (clock number?), FirstName,
LastName, Supervisor, and a Yes/No field to indicate whether a supervisor at
a minimum. You may need Department and other fields as well. The Supervisor
field should be the supervisor's employee number, not a name.

The details depends on the structure and purpose of the database.

I would suggest some reading about database design (Acces in particular)
would be of great benefit. Here are some links that should help. IMHO
Crystal's tutorial is as good a place as any to start.

Jeff Conrad's resources page:
http://www.accessmvp.com/JConrad/acc...resources.html

The Access Web resources page:
http://www.mvps.org/access/resources/index.html

Roger Carlson's tutorials, samples and tips:
http://www.rogersaccesslibrary.com/

A free tutorial written by Crystal:
http://allenbrowne.com/casu-22.html

A video how-to series by Crystal:
http://www.YouTube.com/user/LearnAccessByCrystal

MVP Allen Browne's tutorials:
http://allenbrowne.com/links.html#Tutorials

Needing Help wrote:
I'm creating a database for a project at work and I'm a little rusty with
Access 2003 so any help would be greatly appreciated. I've started with a
table that I have imported from Excel that contains the employee's clock
number, their name and their supervisor in respective columns. I would like
to create a form that has three boxes. The first is a box that allows the
user to key in (or possibly select) an employee clock number. Once this is
completed I would like for the employee's name and supervisor to
automatically appear underneath the first box. I'm pretty for sure that doing
this has something to do with primary and foreign keys but not 100% sure on
that. After searching through my Access 2003 book and the internet I'm at a
loss. Does anyone have any advice that could help me out? Thanks so much in
advance!


--
Message posted via http://www.accessmonster.com

 




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 07:33 AM.


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