andy_dyer
Registered User.
- Local time
- Today, 15:40
- Joined
- Jul 2, 2003
- Messages
- 806
Hi,
I have a database that has a table for Project data (tblProject) which is linked via a foreign key ProjectID to a table for financial years (tblFinanceYear) which is in turn linked to a table for Year (tblYear) through a foreign key YearNameID.
There must be a way of doing this but cannot think of the right combination or words to search for it correctly...
For each ProjectID I want there to be the option to only have one instance of YearNameID and to error saying this year already exists...
Is there a way of doing this?
I have a database that has a table for Project data (tblProject) which is linked via a foreign key ProjectID to a table for financial years (tblFinanceYear) which is in turn linked to a table for Year (tblYear) through a foreign key YearNameID.
There must be a way of doing this but cannot think of the right combination or words to search for it correctly...
For each ProjectID I want there to be the option to only have one instance of YearNameID and to error saying this year already exists...
Is there a way of doing this?