M
MikeF
Trying this again, please advise if clarification is necessary.
Have one master called tblCompanies.
This contains name/address/phone and other general info [only] relevant to
its records.
In Companies is a field called CompanyTypes, which is a lookup to
tblCompanyTypes.
As an example, one of those CompanyTypes is Restaurant [there are several
others, but will use just "restaurant" for this example].
Accordingly, there is a another table called tblRestaurantDetails.
It contains an indexed CompanyID field, with the same ID numbers as
tblCompanies for the relevant records.
*** tblCompanies contains a few thousand records. Of those only a few
hundred are restaurants. Those existing records are in this detail table.
Also in this table are detail fields such as type [ie Japanese/Mexican/etc],
tax rate, website, head chef, a memo field for favorite dishes, and so on.
Note – this premise is the same for other CompanyTypes, that each have their
own detail tables, and which only a few hundred relevant records exist in
tblCompanies.
Here’s the question:
How do I bind these tables together?
When I add a record to tblCompanies, and designate it as Restaurant in the
CompanyTypes field, would like a corresponding record to be automatically
added to tblRestaurantDetails, where I can enter the detail info. *** The
companyTypeID for restaurants is 3.
Can this be easily accomplished?
Any assistance will be sincerely appreciated.
Thanx,
- Mike
Have one master called tblCompanies.
This contains name/address/phone and other general info [only] relevant to
its records.
In Companies is a field called CompanyTypes, which is a lookup to
tblCompanyTypes.
As an example, one of those CompanyTypes is Restaurant [there are several
others, but will use just "restaurant" for this example].
Accordingly, there is a another table called tblRestaurantDetails.
It contains an indexed CompanyID field, with the same ID numbers as
tblCompanies for the relevant records.
*** tblCompanies contains a few thousand records. Of those only a few
hundred are restaurants. Those existing records are in this detail table.
Also in this table are detail fields such as type [ie Japanese/Mexican/etc],
tax rate, website, head chef, a memo field for favorite dishes, and so on.
Note – this premise is the same for other CompanyTypes, that each have their
own detail tables, and which only a few hundred relevant records exist in
tblCompanies.
Here’s the question:
How do I bind these tables together?
When I add a record to tblCompanies, and designate it as Restaurant in the
CompanyTypes field, would like a corresponding record to be automatically
added to tblRestaurantDetails, where I can enter the detail info. *** The
companyTypeID for restaurants is 3.
Can this be easily accomplished?
Any assistance will be sincerely appreciated.
Thanx,
- Mike