Robert,
>I have a maintenance form with a business object "Location" and it works as expected.
>
>I have a second form that has many business objects including the "Location" business object.
>
>I have no issues with any of the business objects except the "Location" business object. When I run the form and call _location.GetAllData() the application throws a null reference error.
Can you post the full stack trace?
Best 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