Ken,
>I am thinking this is wrong because when I DO MAIN I get "invalid source control in CGridlist1" and "invalid source control in cTextbox1". Any suggestions would help.>
In addition to Doug's suggestion, make sure your business object instantiates before your user interface controls. You can do this by selecting the business object, then from the "Format" menu, select "Send to Back".
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