R
rick_it
I'm in trouble with three of my tables.
1) tblCommunities (CommunityID is the PK)
2) tblModels (ModelID is the PK and CommunityID is the FK)
3) tblSalesLeads (LeadID is the PK and CommunityID is the FK)
The users should be able to enter a new sales lead and either pick one of
the communities without selecting any of the models or pick one of the
communities and be able to choose one or more models for said community. How
can I get to this result?
I tried to create another table where the PK was concatenated (CommunityID,
ModelID, LeadID) however with this solution I was not able to satisfy the
first option (pick a community without specifing any of the models).
Thanks for any suggestions.
1) tblCommunities (CommunityID is the PK)
2) tblModels (ModelID is the PK and CommunityID is the FK)
3) tblSalesLeads (LeadID is the PK and CommunityID is the FK)
The users should be able to enter a new sales lead and either pick one of
the communities without selecting any of the models or pick one of the
communities and be able to choose one or more models for said community. How
can I get to this result?
I tried to create another table where the PK was concatenated (CommunityID,
ModelID, LeadID) however with this solution I was not able to satisfy the
first option (pick a community without specifing any of the models).
Thanks for any suggestions.