[mso] Re: Access 97 - Two tables
- From: "Linda F. Johnson" <linda@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Tue, 25 Nov 2003 15:21:42 -0500
This is known as a one to many relationship
One you need to do is add a subform to the main form. The main form shows
data from the "one" side of the relationship. The subform shows data from
the "many" side of the relationship.
Open the main form in Design View and add a subform by clicking on the
subform button on the Toolbox...the Wizard will walk you thru it.
Linda F. Johnson, M.A., MOS
Linda's Computer Stop
http://personal-computer-tutor.com
Free e-Books, Newsletter, and tutorials
-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of LarrysPCRemedies@xxxxxxx
Sent: Tuesday, November 25, 2003 2:53 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Access 97 - Two tables
I have an Access 97 database with two tables in it.
One table named CUSTOMER has an Autonumber type column named ID, the other
columns in the table are the usual stuff (name, address, phone number, etc).
The other table named COMMISSION, has a number type column named CustomerID
that is used to identify the record in the CUSTOMER table it belongs to
based on CUSTOMER.ID
Each record in CUSTOMER may have none, one or more records in COMMISSION.
I want to build a FORM which displays the customer information from the
CUSTOMER table, with a button in it that when clicked, will display any
corresponding records in the COMMISSION table, with the ability to manage
them (e.g., ADD/UPDATE/DELETE) while maintaining their unique relationship
to the specific CUSTOMER record.
I would expect that this is pretty standard stuff, and I think I could
probably do this with an ASP page, but the table resides on a standalone
Win98 machine. I can't figure it out in this environment.
Larry
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in
the subject line.
Or, visit the group's homepage and use the dropdown menu. This will also allow
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with
instructions. Once you are a member of the files group, you can go here to
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
- References:
- [mso] Access 97 - Two tables
- From: LarrysPCRemedies
Other related posts:
- » [mso] Access 97 - Two tables
- » [mso] Re: Access 97 - Two tables
- » [mso] Re: Access 97 - Two tables
- » [mso] Re: Access 97 - Two tables
- [mso] Access 97 - Two tables
- From: LarrysPCRemedies