>I'm using a standard cListObjEdit on a form which calls a cListObjEditForm for adding or editing records. Everything works fine unless anything (even single line DODEFAULT()) is entered in the Init of the cListObjEditForm. Specifically, the form fails in the OK button Click method with the message "Unknown Member oCallingFormListObj". The watch window shows this member to be .F. when it should be the calling forms name, one of the three parameters passed to the form. Again, everything works fine and the oCallingFormListObj member has the correct value if I set the forms Init back to DEFAULT. Any ideas?
Sure, that's basically what I'd expect to happen. The base class of the form has an LPARAMETERS statement in the Init() method. If you override it in your subclass, it's up to you to add this same LPARAMETERS statement and pass these parameters to the baseclass via DODEFAULT(parameter1, parameter2, parameter3). Specifically, you need code like this when you override Init() in a subclass:
LPARAMETERS tlAddMode, toCallingForm, toCallingFormListObj
IF !DODEFAULT(tlAddMode, toCallingForm, toCallingFormListObj)
RETURN .F.
ENDIF