I am unable to add persistent fields to a Delphi ADO parameterized query. The SQL statement is:
SELECT CO_KEY, DETAIL_DATA1 FROM CONTACT_DETAIL
WHERE CONTACT_KEY IS NULL
AND DETAIL_CD = 'PHONE'
AND CO_KEY = :CO_KEY
The error message is 'Parameter object is improperly defined. Inconsistent or incomplete information was provided.'
The query works fine in BDE but not in ADO. Thanks for any help.
SELECT CO_KEY, DETAIL_DATA1 FROM CONTACT_DETAIL
WHERE CONTACT_KEY IS NULL
AND DETAIL_CD = 'PHONE'
AND CO_KEY = :CO_KEY
The error message is 'Parameter object is improperly defined. Inconsistent or incomplete information was provided.'
The query works fine in BDE but not in ADO. Thanks for any help.