HOW DO I LINK FEILDS TOGETHER

MARKVR

New Member
Joined
May 27, 2003
Messages
1
HOW DO I LINK 2 FIELDS IN 2 SEPERATE TABLES, SO IF I ENTER DATA IN ONE IT WILL UPDATE THE OTHER?
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You should set up a relationship between the related fields in each table.

You can create a subform which is recommended if you have a One to many relationship.

You might have for example Table A comprised of "OrderHeader" with an autonumber field for an ID. This is the "One" side of the relationship.

Then Table B As "OrderDetails" it will also have it's own ID autonumber but also another field eg. OrderHeaderID (number type) that will relate to the Order header table field.

With that established Create a form for Table A

Open the form created from table A in Design veiw, size the sceen so you can see the database window. Click and drag table B onto the form footer of the form. and choose the correct link from the wizard window.


Read the help file for Subforms to familirize yourself There are other ways to do it


Ziggy
 
Upvote 0

Forum statistics

Threads
1,221,544
Messages
6,160,431
Members
451,646
Latest member
mmix803

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top