Hi DAW,

I'm trying to use the external function CodeDescription as per:

Code:
return CodeDescription("CODEMAST.INT","MVMNT_TYPE",{AMENDHD.MODE})
But I get Error -120: Can't open Codemast table

Our codemast/codetype is a DB2/SQL table (not dataflex) - hence why I'm using the CODEMAST.INT as the parameter.

As an alternative method, I tried linking the table via the database expert but I can't as the field lengths are not the same.

Help!