Strange, it works for me, try to put
CLEAR DLLS or CLEAR ALL before
RETURN lRetVal
line
it is just above of:
FUNCTION CharToBin(tcBuff)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.