The primary key for both tables is an autonumber (ID), so it should never be null.
If it helps, here are the fields for both tables:
quoteparts:- ID (autonumber), quote (number), partno (text), partdescription (text), buy (currency), sell (currency), qty (number).
invparts:- ID (autonumber)...