Funct.kix is used to store functions like those of say a VB-Include.

WMIQuery() UDF

You should include the DB*() UDFs instead.

While this version works, the DB*() UDFs will clean up this code a bit more.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's