I have set up the 3rd table and I have an input form designed. Can you tell
me how I will be able to add more than one customer to the quoted to field
and how it will be stored in the database. I have used access a little but
nothing this complex before. I was using a program on my palm which would let
me enter more than one name in the "quoted to" field. Thanks in advance for
any help you can give me or any publications you can refer me to. As I
remember Access for Dummies does not go this deep.
>I have set up the 3rd table and I have an input form designed. Can you tell
>me how I will be able to add more than one customer to the quoted to field
>and how it will be stored in the database.
You do NOT want to "add more than one customer to the quoted to
field".
Relational databases DO NOT WORK THAT WAY. Fields should be "atomic",
having only one value.
>I have used access a little but
>nothing this complex before. I was using a program on my palm which would let
>me enter more than one name in the "quoted to" field. Thanks in advance for
>any help you can give me or any publications you can refer me to. As I
>remember Access for Dummies does not go this deep.
The Dummies book seems to be ok for people using existing Access
databases, but (by design) doesn't deal with relational design or
database creation.
Rather than trying to store multiple names in one field, please
investigate my suggestion. It's standard practice, and it works well.
>> Quotes
>> QuoteID Primary Key <this might be your unique Quote Number>
[quoted text clipped - 19 lines]
>>
>> John W. Vinson[MVP]
John W. Vinson[MVP]
F. M. Tom - 10 Jan 2006 22:11 GMT
To do data entry, you'ld use a Form for Quotes with a Subform based on
> >> CustomerQuotes. There'd be a CustomerID combo box on the subform to
> >> select the customer; for a multi-customer quote you'ld just add
> >> multiple rows.
John - The above paragraph is what I have been trying to do. I agree with
all that you have said. I have set up the "customer quotes" table but am
having trouble setting up the subform or even a form that will let me add
more than one customer to the quoted to form. This is what I am looking for
help on. - Thanks
> >I have set up the 3rd table and I have an input form designed. Can you tell
> >me how I will be able to add more than one customer to the quoted to field
[quoted text clipped - 44 lines]
>
> John W. Vinson[MVP]
John Vinson - 11 Jan 2006 02:30 GMT
>To do data entry, you'ld use a Form for Quotes with a Subform based on
>> >> CustomerQuotes. There'd be a CustomerID combo box on the subform to
[quoted text clipped - 6 lines]
>more than one customer to the quoted to form. This is what I am looking for
>help on. - Thanks
Please post the following information:
The Recordsource properties of your mainform and subform (show the SQL
view of the query if it's a query)
The Primary Key of each table
The RowSource of the combo box (post the SQL)
The Control Source and Bound Column of the combo box
John W. Vinson[MVP]
F. M. Tom - 13 Jan 2006 19:36 GMT
I do not know how to find all that you ask for but here is what I have:
record source of main form - projects (the table of all proposals)
record source of sub form - customerquotedto (this is the combo table)
primary key of projects - "quote no assigned" auto generated no.
primary key of customers - "cust ID no" auto generated no.
both above primary keys are also the primary keys in "customerquotedto"
The last two items you are looking for I do not know how to get. If you can
explain how I will get them to you
Thanks
> >To do data entry, you'ld use a Form for Quotes with a Subform based on
> >> >> CustomerQuotes. There'd be a CustomerID combo box on the subform to
[quoted text clipped - 16 lines]
>
> John W. Vinson[MVP]
John Vinson - 09 Feb 2006 06:05 GMT
>primary key of customers - "cust ID no" auto generated no.
>both above primary keys are also the primary keys in "customerquotedto"
That's your problem.
If the CustIDNo is the Primary Key of customerquotedto, then you can
have one and only one record for that CustIDNo.
John W. Vinson[MVP]