>Bob,
>
>>I put an instance of cListObjEdit on a pageframe using the built in business object thinking I would keep it simple. I used the builders to set up both the business object and gridlist. When I run the form, I get the following error in the SetButtonEnabledStatus method of the cListObject.
>>
>>Unknown member OBIZOBJ
>>Line 32
>>If this.oBizObj.lNoRecords = .T.
>>
>>What am I missing?
>
>It looks like this.oBizObj has not been initialized. If you look at the Init method of CListObjEdit.CListObj1, you'll see the following code that registers the built-in business object:
>
>
>DODEFAULT()
>IF This.lEnabled
> This.Parent.RegisterBizObj(This)
>ENDIF
>
>
>Is it possible that the business object's lEnabled property has been set to False? If not, I recommend setting a breakpoint in this code and stepping through to see why oBizObj is not being initialized properly.
>
>Regards,
Been there, done that. lEnabled is set to True. I have a breakpoint set on
IF This.lEnabled
but I never get to the break point.
Bob Kocher
www.swfox.netStart making your plans now to attend Southwest Fox 2006