need help with setup of tables

F

firecop1

Hi all,
I am new to Access 2007 and need to create a very simple database to track a
location and any activity(s) that happen there.

I am guessing that I need a table to store the name, address and phone
number of the address then another table to track the date of activity,
nature of the activity and a memo field. I would like the information from
the first table to be on top of a form and the info from the second table to
be a subform where I can see all of the activities.

I know how to make the tables I just dont know how to join them so it
filters the activities shown on the form to the address shown on the form.

Any and all help would be greatly appreciated

AJ Brofman
Chief Fire Marshal
Lake Grove, NY
 
J

John W. Vinson

Hi all,
I am new to Access 2007 and need to create a very simple database to track a
location and any activity(s) that happen there.

I am guessing that I need a table to store the name, address and phone
number of the address then another table to track the date of activity,
nature of the activity and a memo field. I would like the information from
the first table to be on top of a form and the info from the second table to
be a subform where I can see all of the activities.

I know how to make the tables I just dont know how to join them so it
filters the activities shown on the form to the address shown on the form.

Use a Form based on the Location table, with a Subform based on the events
table. Use the primary key of the Loction table as the "master link field" of
the subform, and the related field (a Long Integer if the primary key of the
location table is an autonumber) as the Child Link Field.

You'll probably also want a small table of the nature of the activity, and use
a combo box on the subform to select one from a list, rather than just typing
them in (more work and prone to misspellings).

John W. Vinson [MVP]
 
F

firecop1

Thank you sir, took your advice..

John W. Vinson said:
Use a Form based on the Location table, with a Subform based on the events
table. Use the primary key of the Loction table as the "master link field"
of
the subform, and the related field (a Long Integer if the primary key of
the
location table is an autonumber) as the Child Link Field.

You'll probably also want a small table of the nature of the activity, and
use
a combo box on the subform to select one from a list, rather than just
typing
them in (more work and prone to misspellings).

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top