I have a number of tables that are linked by a common field called StockCode
. The StockCode
contains maybe one and sometimes 2 single quotes. When I try to read the related tables using the StockCode
as the key I get an error.
E.g.
Table: Stock, field: StockCode = Earl's Stock
Table: Sales, field: StockCode = Earl's Stock
If I read the Stock and try to find the StockCode on the Sales Table I get an error.