- Local time
- Yesterday, 18:31
- Joined
- Feb 28, 2001
- Messages
- 30,330
Why is ANYTHING moving?
Location, being an attribute of items, properly depends on the PK of the individual item entries. You can have records for a "lot" (="batch") of items for which there is a location code. If you have split lots of the same thing with different location codes, this is fine. But an APPEND query? Only if you are appending a record that represents moved parts.
NO repeat NO parts should "move" if the count is zero. If there ARE parts that are zero, you have records that don't represent anything. How do you move "nothing" ? How do you grasp it to pick it up and move it into the bins on the other side of the building?
I strongly suspect that your database is not properly normalized.
Why don't you publish an overview of your structure showing relevant table names including the PK of each - and any fields in that table that are FK to another table.
Location, being an attribute of items, properly depends on the PK of the individual item entries. You can have records for a "lot" (="batch") of items for which there is a location code. If you have split lots of the same thing with different location codes, this is fine. But an APPEND query? Only if you are appending a record that represents moved parts.
NO repeat NO parts should "move" if the count is zero. If there ARE parts that are zero, you have records that don't represent anything. How do you move "nothing" ? How do you grasp it to pick it up and move it into the bins on the other side of the building?
I strongly suspect that your database is not properly normalized.
Why don't you publish an overview of your structure showing relevant table names including the PK of each - and any fields in that table that are FK to another table.