I'm having a problem with a column in a grid, which I want to display the results of a UDF.
I've got this column defined in the .INIT() method as using
.ControlSource = "inttohex(VAL(names.value),4)"
- where inttohex() is a UDF that converts an integer into a hexadecimal string. The UDF takes two parameters. First is the integer, here the numeric contents of the NAMES.VALUE filed. The second parameter is the width of the resulting string.
I've include a declaration in the .INIT() method code as
EXTERNAL PROCEDURE inttohex
When I run this, I get an error:
Variable is not found
The call stack is pointing to the line which defines the .ControlSource property.