Copying from a form to a table

A

Aurora

I am using Access 2000.
I have created a form from two tables (1 to many
relationship). #1 Table is the cust table and #2 is the
tele msg table. In the form, both tables are joined by
the tele number. Enter the telephone number and the
corresponding basic customer information comes up from the
cust table. Then we add the other information into the
form that goes into the tele msg table.

But if this is a new customer, the information is not in
the customer table and nothing comes up. Then the
salespeople have to enter all of the basic information on
to the form and later on they have to enter it again into
the customer table inorder to print the form. The sales
people do not want to do this twice.

Is there any way to copy this information from the form to
the table via a macro?

Would certainly appreciate any help you can give me. I
have not done any basic programming in Access so I am
looking for a macro if possible.

Aurora
 
R

Roger Carlson

The usual way to represent a one-to-many relationship is a form/subform.
The form is based on the One-side table and the subform on the Many-side
table. The subform control has a Link Parent/Link Child properties that
handle the primarykey/foreignkey maintenance.

On my website is a small sample database called: FormSubform, which
illustrates this.
 

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

Similar Threads

Form 3
One field or another field 2
1 form, 2 tables 1
error 2489 1
Separate Form 0
Form feeding a table problem 1
Adding Multiple lines to a table using one form entry 2
Combo Box interacting to Table 8

Top