Did you get a chance to look at -

http://www.kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=12;t=000060

This has been detailed out pretty well..

http://www.jsiinc.com/SUBF/TIP2600/rh2621.htm

HTH,

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