Mark,

hmm ... it depends :

If you have placed the function in the same script it should work (if yes , just post the function and we'll see)

If you have the function in a seperate file (.udf) you will have to call it first like:

code:

call "[path\]filename.ext"


KiX 4 will then evaluate the included function(s) and be able to use it afterwards in the script (plus subscripts) ... say the current session !

hth

Jochen

_________________________