Hi,
I was wondering if I can get some advice as I am recieving an error when creating a form for the following database (Cannot add records, Join Key of tbleSupplier not in recordset).
The Supply Database must track all suppliers, their address, their insurance and any info on what projects they work for etc etc. Any feedback would be helpful. I think the part im sort of confused with is how the relations work, ie. if each PK is an Autonumber and is a FK in the main table are they always inner joins etc?
A Supplier MAY have MANY Salesperson
A Salesperson MUST work for ONE Supplier
A Suppler MUST belong to ONE Category
A Category MAY have MANY Supplier
A Supplier MUST be situated in ONE Country
A Country MAY contain MANY Supplier
A Supplier MAY have MANY Insurance Types
A Insurance Type MAY have MANY Supplier
A Supplier MAY supply ONE Project
A Project MAY have MANY Supplier
So the Databases are as follows: tblSupplier, tblSalesperson, TbleCountry, TbleInsurance, TbleProject, TblCategory
TbleSupplier
(ABN, ACN, SupplierNo, SupName, Legal Entity Name, BusPhNo, BusFaxNo, Webpage, BusEmail, BusStreetNo, BusStreetName, BusPCode, BusState, BusCountry, PostalStNo, PostalStName, PostalSuburb, PostalState, PostalPcode, PostalCountry)
PK – SupplierNo
FK - CountryID - References TblCountry
FK - ProjectID - References TblProject
FK - InsuranceID - References TblInsurance
FK – CategoryID – References TblCategory
FK – SalesPersonID – References TbleSalesperson
TbleSalesperson
(SalesFirstname, SalesSurname, SalesMobile, SalesEmail)
PK – SalesPersonID (AutoNumber)
TbleCountry
(CountryName)
PK – CountryID (AutoNumber)
TbleInsurance
(InsuranceType, InsuranceDescr, InsuranceExpDate, InsuranceStatus, InsuDocNo, InsuHyperlink)
PK - InsuranceID (AutoNumber)
TbleProject
(ProjectName)
PK - ProjectID (AutoNumber)
TbleCategory
(CategoryName)
PK - CategoryID (AutoNumber)
TbleProject
(ProjectName)
PK - ProjectID (AutoNumber)
TbleCategory
(CategoryName)
PK - CategoryID (AutoNumber)
I was wondering if I can get some advice as I am recieving an error when creating a form for the following database (Cannot add records, Join Key of tbleSupplier not in recordset).
The Supply Database must track all suppliers, their address, their insurance and any info on what projects they work for etc etc. Any feedback would be helpful. I think the part im sort of confused with is how the relations work, ie. if each PK is an Autonumber and is a FK in the main table are they always inner joins etc?
A Supplier MAY have MANY Salesperson
A Salesperson MUST work for ONE Supplier
A Suppler MUST belong to ONE Category
A Category MAY have MANY Supplier
A Supplier MUST be situated in ONE Country
A Country MAY contain MANY Supplier
A Supplier MAY have MANY Insurance Types
A Insurance Type MAY have MANY Supplier
A Supplier MAY supply ONE Project
A Project MAY have MANY Supplier
So the Databases are as follows: tblSupplier, tblSalesperson, TbleCountry, TbleInsurance, TbleProject, TblCategory
TbleSupplier
(ABN, ACN, SupplierNo, SupName, Legal Entity Name, BusPhNo, BusFaxNo, Webpage, BusEmail, BusStreetNo, BusStreetName, BusPCode, BusState, BusCountry, PostalStNo, PostalStName, PostalSuburb, PostalState, PostalPcode, PostalCountry)
PK – SupplierNo
FK - CountryID - References TblCountry
FK - ProjectID - References TblProject
FK - InsuranceID - References TblInsurance
FK – CategoryID – References TblCategory
FK – SalesPersonID – References TbleSalesperson
TbleSalesperson
(SalesFirstname, SalesSurname, SalesMobile, SalesEmail)
PK – SalesPersonID (AutoNumber)
TbleCountry
(CountryName)
PK – CountryID (AutoNumber)
TbleInsurance
(InsuranceType, InsuranceDescr, InsuranceExpDate, InsuranceStatus, InsuDocNo, InsuHyperlink)
PK - InsuranceID (AutoNumber)
TbleProject
(ProjectName)
PK - ProjectID (AutoNumber)
TbleCategory
(CategoryName)
PK - CategoryID (AutoNumber)
TbleProject
(ProjectName)
PK - ProjectID (AutoNumber)
TbleCategory
(CategoryName)
PK - CategoryID (AutoNumber)