Rex,
>In addition, in the cmdAdd.Click and the cmdEdit.Click methods if the variable llFormIsPresent is false, the method returns a variable (lnRetVal) which is undefined, unless the LOCAL sets the variables to false.>
Do you mean the "llRetVal" variable? What change do you feel needs to be made?
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