473,466 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Beginner's contact list question

I'm trying to set up a contact list in MS Access 97. I've looked
through a reference book and the program's help screens, but the light
bulb isn't quite coming on for me. If one of you could take the time
to answer two very elementary questions, I'd appreciate it.

Suppose the contact list consists of (for example) musicians and
teachers. For every person in the list, we keep name, address, etc.
For musicians, we keep track of what instruments they play, and
whether they sing or not. For teachers, we keep track of what subject
they teach, and what grade they teach ... but we also keep track of
the school's name and address (because we might meet more than one
teacher at each school, and we don't want to input the school
information more than once.)

My two questions:

1. When entering a new contact on a form, is it possible to select
"musician or teacher," and whichever one you pick, you get the
specific questions related to each? (In other words, if you pick
musician, you're asked about instruments, band name, etc, and if you
pick teacher, you're asked about school name, grade, etc.)??

2. I understand that there will be a separate table for teachers,
which would include (for example) school name and address, but would
there also be a separate table for musicians? What would it include?

The ultimate goal is to be able to (for example) find what was the
name of that saxophone player from Ohio, or who do we know who teaches
7th-grade math. At at the same time, we might need to find anyone's
e-mail address, or do a mail-merge to everyone. I think that I can
figure out the report part, but inputting the data in a convenient way
(as described above) is the part I don't get.

Again, I know this is real basic stuff. Thanks in advance for any
tips!

Nov 15 '06 #1
1 2539
Hey Robert-
here are some thoughts in answer to your questions:
First, would it ever be possible that someone is both a musician and a
teacher?
If so, you might want to be able to enter both kinds of info for that
person, so a tab control with "teacher" info on one tab and 'musician' info
on the other might be a good way to go.
If they are really mutually exclusive, then you can have the form "ask" you
for the relevant info if you can do some visual basic programming. In the
"after update" event of whatever control you use to select "teacher vs
musician", you would write some code to make the appropriate controls
visible and the others invisible. You could do this in various ways: you
could prefix all the musician controls with 'mus' and then make all the
controls that start with 'mus' invisible (not really beginner's visual
basic), or you could make a subform for each set of controls and hide/show
the appropriate subform.
I'm assuming you have all the musicians and teachers in the same table, and
then are thinking of having a separate 1 to 1 table for teacher info, such
as schoolID (linked to a another table of just schools: ID, name, address,
etc.), grade, subject. For the musician info, which looks like it's just
instrument and singing at this point, you could either make a separate
table, or just put these fields in the 'people' table and only fill them in
when the person is a musician. You could also keep teacher fields in the
people table as well, and set up the interface so that they can only be
filled in for teachers, since we are only talking about 3 or so fields.
hope this helps
-John

"Robert J. Bonn" <rj****@snet.netwrote in message
news:91********************************@4ax.com...
I'm trying to set up a contact list in MS Access 97. I've looked
through a reference book and the program's help screens, but the light
bulb isn't quite coming on for me. If one of you could take the time
to answer two very elementary questions, I'd appreciate it.

Suppose the contact list consists of (for example) musicians and
teachers. For every person in the list, we keep name, address, etc.
For musicians, we keep track of what instruments they play, and
whether they sing or not. For teachers, we keep track of what subject
they teach, and what grade they teach ... but we also keep track of
the school's name and address (because we might meet more than one
teacher at each school, and we don't want to input the school
information more than once.)

My two questions:

1. When entering a new contact on a form, is it possible to select
"musician or teacher," and whichever one you pick, you get the
specific questions related to each? (In other words, if you pick
musician, you're asked about instruments, band name, etc, and if you
pick teacher, you're asked about school name, grade, etc.)??

2. I understand that there will be a separate table for teachers,
which would include (for example) school name and address, but would
there also be a separate table for musicians? What would it include?

The ultimate goal is to be able to (for example) find what was the
name of that saxophone player from Ohio, or who do we know who teaches
7th-grade math. At at the same time, we might need to find anyone's
e-mail address, or do a mail-merge to everyone. I think that I can
figure out the report part, but inputting the data in a convenient way
(as described above) is the part I don't get.

Again, I know this is real basic stuff. Thanks in advance for any
tips!

Nov 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Phil | last post by:
Hi everybody, I am a XSLT beginner and the following problem really makes me crazy ! I have a main "contacts.xml" document which contains references to several contact data XML files. My aim...
24
by: tom pester | last post by:
Hi All, I am learning php an I am amazed how easy a PHP noob like me can acheive so much in little time. I am planning to take part in the community and noticed these 3 newsgroups : ...
1
by: nozone | last post by:
Hi all. I am beginner in C. My question is: What is " \n" inside scanf()? Here is part of the implementation of an example: ... char myChar; int myID; scanf("%c", &myChar); scanf("%d\n";...
5
by: janetb | last post by:
Environment is Server2003,IIS6,Asp.net 2,VisualStudio2005,SQl2005. 1. Event viewer showing lots of session abandon errors. asp.nt 2.0.50727.0 web event id: 1309 event code 3005 An unhandled...
1
by: shagsj | last post by:
Hey all, I'm setting up a website for a game that my club plays. the site is to keep a record of the games played for a league. We have a spreadsheet to prepare the team rosters which I want...
20
by: OregonMike | last post by:
I'm a C# guy tasked with fixing some bugs in VB.NET code. I've run into something that doesn't seem to make sense. I have an Object reference to a System.Windows.Forms.ToolStripComboBox Object that...
0
by: =?Utf-8?B?TkMgQmVhY2ggQnVt?= | last post by:
I am new to ASP and working on my first project and I must setup a connection to my sql server. I have been working in Coldfusion and new to ASP. I am thinking the best way to setup the SQL...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
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 ...

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.