Stephen,
>Any other place to doform() from?
Try putting it in your application object's "BeforeReadEvents" method.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com