S
Slim
I'm trying to relate all my tables and I keep getting the
following message:
Index or primary key cannot contain a Null value
The following shows all tables and Primary Key (PK)
What am I doing wrong when I go to join the Orders and
OrderDetails tables?
Tables:
ORDERS - OrderNumber (PK), CustomerID, EmployeeID,
OrderType, OrderDate, OrderTotal, OrderDetailsNumber
ORDERDETAILS - OrderDetailsNumber (PK), OrderNumber,
ProductID, Quantity, CurrentPrice, Discount, LineAmount
PRODUCTS - ProductID (PK), ProductName,
ProductDescription, ProductCategory, UnitPrice,
UnitsinStock, ReOrderLevel
CUSTOMERS - CustomerID (PK), CompanyName,ContactLName,
ContactFName, Address, City, State, Postcode,
ContactTitle, PhoneNumber, FaxNumber, EmailAddress, Notes
EMPLOYEES - EmployeeID (PK), EmployeeSurname,
EmployeeGivenName, Address, Suburb, PhoneNumber, TFN,
StartDate, TerminationDate, YearlyBonus,
CurrentBonusPoints, Telemarketer
Any help would be much appreciated.
following message:
Index or primary key cannot contain a Null value
The following shows all tables and Primary Key (PK)
What am I doing wrong when I go to join the Orders and
OrderDetails tables?
Tables:
ORDERS - OrderNumber (PK), CustomerID, EmployeeID,
OrderType, OrderDate, OrderTotal, OrderDetailsNumber
ORDERDETAILS - OrderDetailsNumber (PK), OrderNumber,
ProductID, Quantity, CurrentPrice, Discount, LineAmount
PRODUCTS - ProductID (PK), ProductName,
ProductDescription, ProductCategory, UnitPrice,
UnitsinStock, ReOrderLevel
CUSTOMERS - CustomerID (PK), CompanyName,ContactLName,
ContactFName, Address, City, State, Postcode,
ContactTitle, PhoneNumber, FaxNumber, EmailAddress, Notes
EMPLOYEES - EmployeeID (PK), EmployeeSurname,
EmployeeGivenName, Address, Suburb, PhoneNumber, TFN,
StartDate, TerminationDate, YearlyBonus,
CurrentBonusPoints, Telemarketer
Any help would be much appreciated.