Subject FieldName not found on SP
Author Don Schoeman
I get the following error when trying the set a parameter value for a stored
proc:

FieldName: P_UNIT_TYPE_ID not found

I know for a fact that the P_UNIT_TYPE_ID parameter does exist and it is
listed in the ParamNames and Params properties.

I set the parameter value like this:
spCreateUnitCodes.Params.ParamByName('P_UNIT_TYPE_ID').AsInteger := xxx;

I've been doing this all over the place and everywhere else it does work.
Any ideas?

Best Regards,
Don Schoeman