Amanda,
The cListObj has a kBizObj "built in." You need to be sure that when you decide to use your custom BizObj instead, you also disable the "built in" one, otherwise its CancelNewAndEmpty() fires and you'll get this error.
Check the Developer's Guide, looking for the CListObj (CListObjEdit works as well) section titled, "Replacing the Built-In Business Object"
Hope that helps,
---J
>I have a subclass of a bizobjmaintenance form with a clistobj object on page 2. I have 2 business objects on this form. One is dropped on the form and set as primary, the second is dropped on page 2 and holds the view I need to edit in clistobj. The form works perfectly until I drop the clistobj onto page 2. The data from the correct view will appear in the editable grid, but when I close the form I get the following error:
>Error #: 1924
>Message: LODATAACCESS is not an object
>Line 31
>Code: lnRetval = loDataAccess.CancelNewAndEmpty()
>Method: cancelnewandempty
>Object: caseform1.pgfbizobj.page2.hpeditgridactivites.clistobj1
>
>It is entirely possible that there is something simple I am missing, since I am VERY new to this. Any help would be greatly appreciated.
>TIA
>Amanda