the return value for Exist() must be something more or less then a straight "1" or "0". In fact, Exist() returns a "Boolean" not an integer.

? VarTypeName(Exist("blah-blah"))

How are Booleans interpreted? It appears that Functions do not like to return Booleans. [Frown]

[ 07 May 2002, 07:29: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/