Microsoft Access - Link master and child fields

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

rocknroller404

Thread Starter
Joined
Aug 1, 2018
Messages
9
Hi guys,

In my system to keep data consistent between switching tabs, I have a textbox I call. To populate a subform with the current record I link master fields 'txtMaterial' and this works. It populates the material number correctly from the corresponding record. However, I have 3 primary keys that need populated and I'm not sure what to type in the link master fields. So far I have tried txtMaterial;txtLocation;txtDelivery with child fields Material;Location;Delivery. However I get an error saying the setting you entered isn't valid for this property. Why does it work with one box, and not 3? If anyone knows a workaround I would be so appreciative thank you
 

rocknroller404

Thread Starter
Joined
Aug 1, 2018
Messages
9
Also, if i try it with just two and not 3 I get the following error 'The expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables."
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Can you provide a copy of the database with some dummy data?
Or at least some screen shots of what you trying to achieve.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top