Dr. Ames,
>The problem is that if you leave fOrders up, and pull in a new order and click cmdCancelOrder, you get the following error message:
>
>Application Message
>Only one copy of this form can be run.
Let's start here...I recommend setting a breakpoint at the place where you are launching the form, and step through the Init of the form. In the Framework's CBaseForm.Init() method, you'll see code that is checking the form's "lAllowMultipleInstances" flag...is this flag set to True? Is there already an active instance of this form?
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