andreas_udby
07-01-2002, 08:01 AM
I'm trying to link two tables on a common field -- [Business Segment] -- but I only want the unique values from the first value to show up in the appropriate column in the second table.
To clarify: the first table -- tblMaster -- has 3000 entries organized by [Employee ID]. [Business Segment] is a field of that table, but there are only 12 business segments in the company. In my second table -- tblGap -- I only want the 12 business segments to show up, as this table will be used to store information about each business segment, and the field [tblGap].[Business Segment] will be used to populate a combo box on a form bound to tblGap. It's also the primary key for tblGap.
Am I making any sense? I don't want to populate tblGap manually, becuase the segments in tblMaster may change from time to time, and I want the change to cascade down to tblGap from tblMaster. And without linking the tables, I have no idea how to populate that combo box.
Thanks for your help,
Andreas
To clarify: the first table -- tblMaster -- has 3000 entries organized by [Employee ID]. [Business Segment] is a field of that table, but there are only 12 business segments in the company. In my second table -- tblGap -- I only want the 12 business segments to show up, as this table will be used to store information about each business segment, and the field [tblGap].[Business Segment] will be used to populate a combo box on a form bound to tblGap. It's also the primary key for tblGap.
Am I making any sense? I don't want to populate tblGap manually, becuase the segments in tblMaster may change from time to time, and I want the change to cascade down to tblGap from tblMaster. And without linking the tables, I have no idea how to populate that combo box.
Thanks for your help,
Andreas