Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LoDataAccess Is not an Object on clistobj
Message
De
28/01/2004 12:00:08
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
28/01/2004 11:13:18
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00871418
Message ID:
00871444
Vues:
11
This message has been marked as the solution to the initial question of the thread.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform