Hi All,
I am using an update query however when clicking on the run button within the query, i keep reciving an error message which i have attached. It basically refering that due to setting a primary Key on the table i cannot add all the records, however i need to set a primary key to the table to stop duplicate entries from being updated. Any help im confused.
The table is set up as:
Line Number (Primary Key)
WorkOrderNumber (Primary Key)
ProdNo (Primary Key)
ProductDescription
Quantity
CylinderSerial Number
Status
I have set the first three fields as primary keys as there cannot be a Workorder number with the same line number and product number as another
for e.g. the follwing results cannot be shown
Workorder number Line Number ProdNo
3333 1 221
3333 1 221
For e.g the follwing results can be shown
Workorder number Line Number ProdNo
3333 1 221
3333 2 221
Any help, can u see what i am doing worng
I am using an update query however when clicking on the run button within the query, i keep reciving an error message which i have attached. It basically refering that due to setting a primary Key on the table i cannot add all the records, however i need to set a primary key to the table to stop duplicate entries from being updated. Any help im confused.
The table is set up as:
Line Number (Primary Key)
WorkOrderNumber (Primary Key)
ProdNo (Primary Key)
ProductDescription
Quantity
CylinderSerial Number
Status
I have set the first three fields as primary keys as there cannot be a Workorder number with the same line number and product number as another
for e.g. the follwing results cannot be shown
Workorder number Line Number ProdNo
3333 1 221
3333 1 221
For e.g the follwing results can be shown
Workorder number Line Number ProdNo
3333 1 221
3333 2 221
Any help, can u see what i am doing worng