The error message you're getting is generated in the CBizObjForm.ProcessBizObj() method. It's a developer-specific message that is only displayed when running in debug mode.
The message gets displayed when the business object form cannot find an object by the name specified in the child's cParentBizObj property. Therefore, it's probably one of two things:
1. The parent object is not named "lwMasterObj". Verify the spelling *and* that it truly is a business object that you've given this name.
2. The parent business object is not instantiating.
If you can't readily find the problem, I recommend setting a breakpoint in your form's ProcessBizObj() method as follows:
LPARAMETERS toBizObj
SET STEP ON RETURN DODEFAULT(toBizObj)
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