other 2 tables and forms, I then linked the relationships in this way...Plan
Name to Sold to on 2 nd table and sold to on 3rd table, I also added comand
buttons on the main and 2nd form to open the forms that I need to enter data
into. When I open the other 2 forms there is nothing indcated that I'm
working on the PLAN NAME. So how do I know if the data is for the Plan name?
I also have the Plan name as a combo bax, is this correct?
STOP.
Did you read the tutorials that I've posted a couple of times? Let's try
again.
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
Bear in mind - *I don't know your business*. *I don't know what your tables
represent*. They have something to do with a Plan and with customers and
sales,but *that is the entirity of my understanding of your application*,
because that's all you've posted.
My assumption - which may well be wrong, since my telepathy is apparently on
the blink today - is that you could have a Table setup like:
Plans
PlanNumber <Primary Key>
PlanName
<other information about the plan>
Customers
CustomerID <Primary Key>
LastName
FirstName
<other bio information>
Sales
SaleID <Autonumber, Primary Key>
PlanID <Link to Plans.PrimaryKey>
SaleDate <date/time of sale>
CustomerID <link to Customers>
If you're expecting to see the plan name in the sales table, you're
misunderstanding the WHOLE PURPOSE of a relational database. You don't copy
data into every table that's related to the Plan table. Instead, you *store a
link* to that table. Opening the table datasheet won't show you anything but
numbers, perhaps... but *that's ok*; the purpose of the table is to store
data, NOT to present it to human view. Data storage is one operation; data
presentation is a different operation; tables are for data storage, and Forms
and Reports are for data presentation. They will be based on Queries, and/or
use data presentation tools such as combo boxes, subforms and subreports.
John W. Vinson [MVP]