Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

Newbee help with forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jerseygirl54 - 13 May 2008 21:49 GMT
I am VERY new to Access.  I am trying to create a simple roster form for PD
Training.  I have created a list of classes and imported a list of officers.  
On my form I have the top as the Classes with class number, class catagory,
date, hours, Instructor Name.  On the bottom, I have a subform with the list
of officers.  I would like to choose the class Name and have it auto fill in
class number, catagory, date hours, instructor name and have the bottom to
fill in who has attended the class.

I hope that I've explained it well.

Thank you for your assistance and patience with me! :-)
John W. Vinson - 13 May 2008 23:32 GMT
>I am VERY new to Access.  I am trying to create a simple roster form for PD
>Training.  I have created a list of classes and imported a list of officers.  
[quoted text clipped - 7 lines]
>
>Thank you for your assistance and patience with me! :-)

You need *three* tables, not two. Each Class will be attended by zero, one, or
many Officers; each Officer may attend zero, one, or many Classes. Your tables
might be:

Officers
 OfficerID <Primary Key, maybe a badge number, some unique identifier>
 LastName
 FirstName
 <other biographical data>

Classes
 ClassNumber <primary key>
 <your other class specific fields>

Enrollment
 ClassNumber <link to Classes>
 OfficerID <link to Officers>

You would have a Form based on Classes, with a Subform based on Enrollment; on
the subform you could have a combo box storing the OfficerID but displaying
her or his name:

SELECT OfficerID, LastName & ", " & FirstName FROM Officers ORDER BY LastName,
FirstName;

as its rowsource.

On the mainform you could use the Combo Box Wizard to add an unbound combo box
- use the "Use this combo to find a record" wizard to create it.
Signature


            John W. Vinson [MVP]

jerseygirl54 - 14 May 2008 16:01 GMT
Thank you, John.  I'm going to try it.  I think one of the problems is that I
have way too many tables! :-)

> >I am VERY new to Access.  I am trying to create a simple roster form for PD
> >Training.  I have created a list of classes and imported a list of officers.  
[quoted text clipped - 37 lines]
> On the mainform you could use the Combo Box Wizard to add an unbound combo box
> - use the "Use this combo to find a record" wizard to create it.
John W. Vinson - 14 May 2008 18:24 GMT
>Thank you, John.  I'm going to try it.  I think one of the problems is that I
>have way too many tables! :-)

If you get your data model and table structures right in the first place,
you'll find that Access is much more cooperative. Here's some sources of
information about how to do so:

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

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

A free tutorial written by Crystal (MS Access MVP):
http://allenbrowne.com/casu-22.html

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


            John W. Vinson [MVP]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.