No primary key value for foreign key '%1' in table '%2'

Error constant SQLE_INVALID_FOREIGN_KEY
ODBC 2 state 23000
ODBC 3 state 23000
Parameter 1 Name of the foreign key.
Parameter 2 Name of the table with the foreign key.
Severity 16
SQLCODE -194
SQLSTATE 23503
Sybase error code 546
 Probable cause
 More information