WCRT004: The data type and/or length of column col1 does not match that of primary key column col2.

When specifying the foreign key columns of a relationship, you must choose those that match both in data type and length to that of its corresponding primary key column. Check the data type and length of both the foreign key and primary key column to be sure they match.
Restriction: This topic applies to Windows environments only.