G
Greta
I am updating an existing mailing list that was essentially a spreadsheet in
Access. I want to add 2 tables: one to describe the kind of constituent
(board member, business, nonprofit, interests, etc.) and another table to
contain which mailings each constituent will receive. Because both of these
relationships are many-to-many, I have added linking tables between them.
I would like to initialize one of the linking tables with information that
exists in the main table, but I haven't figured out how. The main table is
called tblMasterFile. Pertinent fields in this table are ID (an autonumbered
primary key) and MasterFile (the previous primary key that is in the form
BUS0001. It is a 'smart' field in the sense that BUS tells me it's a
business & the 0001 is a differentiator.) The second table is called
tblDescriptors&Interests. It contains two fields: DescriptorID and
Descriptor where DescriptorID is an autonumbered primary key and Descriptor
is, say, "Business" or "education". The linking table is called
tblLinkMasterDescriptors. It has two fields: ID which I'd like to come from
the ID field in tblMasterFile, and DescriptorID which should match
DescriptorID in the tblDescriptorsInterests.
It seems like I should be able do some kind of an action query that says 'If
MasterFIle looks like BUS*, then place the corresponding ID from
tblMasterFile in the field ID in the tblLinkMaster&Descriptors and the number
2 in the DescriptorID field in tblLinkMasterDescriptors.
Any other suggestions would be helpful (e.g., should I get rid of ampersands
in table names?)...
Thanks!
Access. I want to add 2 tables: one to describe the kind of constituent
(board member, business, nonprofit, interests, etc.) and another table to
contain which mailings each constituent will receive. Because both of these
relationships are many-to-many, I have added linking tables between them.
I would like to initialize one of the linking tables with information that
exists in the main table, but I haven't figured out how. The main table is
called tblMasterFile. Pertinent fields in this table are ID (an autonumbered
primary key) and MasterFile (the previous primary key that is in the form
BUS0001. It is a 'smart' field in the sense that BUS tells me it's a
business & the 0001 is a differentiator.) The second table is called
tblDescriptors&Interests. It contains two fields: DescriptorID and
Descriptor where DescriptorID is an autonumbered primary key and Descriptor
is, say, "Business" or "education". The linking table is called
tblLinkMasterDescriptors. It has two fields: ID which I'd like to come from
the ID field in tblMasterFile, and DescriptorID which should match
DescriptorID in the tblDescriptorsInterests.
It seems like I should be able do some kind of an action query that says 'If
MasterFIle looks like BUS*, then place the corresponding ID from
tblMasterFile in the field ID in the tblLinkMaster&Descriptors and the number
2 in the DescriptorID field in tblLinkMasterDescriptors.
Any other suggestions would be helpful (e.g., should I get rid of ampersands
in table names?)...
Thanks!