For your KixForms Function, you have:

$SysFolder

I don't see that being passed to the function nor is it defined there.

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