I vaguely remember discovering a bug in the calling sequence for the lmn routine. If you post your tpl file I can try my version and see it the problem is fixed. Dave -- David A. Fournier P.O. Box 2040, Sidney, B.C. V8l 3S3 Canada Phone/FAX 250-655-3364 http://otter-rsch.com