These are error codes. See the @ERROR and @SERROR macros and the erro code seciton of the Kixtart Manual. Win32 error codes are also listed under http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp.

Error 87 = The parameter is incorrect. ERROR_INVALID_PARAMETER

Also, how are we supposed to help you debug your code if you don't even post the code but just the UDF itself? See also the FAQ Forum on how to use UDFs.


Edited by sealeopard (2004-03-13 03:17 AM)
_________________________
There are two types of vessels, submarines and targets.