Aaron,

Welcome to the board..

Be sure all of your variables read - $key

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