Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Get A Field Automatically Populate Another Table

Status
Not open for further replies.

ProgEval

MIS
Sep 21, 2006
59
US
Here is my current table set up. In the Client table I have a ID field and a region field. Alot of other client data exists in this table, too.

I then have a service table where service data is data entered through a form. The relationship is set between client ID. I want to have the client's region field in the product table without having it data entered for each service. I know I can manipulate the data through a query, but how do I do I pull this so its automatically in the service table? I have done it by accident before, but can not figure it out now.

tblClient
-ClientID
-Region
-OtherClientData

tblService
-ClientID
-ServiceFields

Any help is very much appreciated! Thanks!
 
Access will automatically fill in Link Child Fields with data from Link Master Fields. You can have more than one link field and / or control. Is this what you mean?
 
Maybe. How does my relationship need to be set up get that region field to automatically fill in the service table? Currently I just have a relations from ClientID to ClientID. What else do I need to do? Its not currently working. Thanks!
 
You need a form and a subform, the subform control would have the following properties:

[tt]Link Child Fields: ClientID; Region
Link Master Fields: ClientID; Region[/tt]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top