Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBizObjMaintenanceForm Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00664634
Message ID:
00665076
Vues:
26
I debug the ischanged() method of my business object. I found that this error occurs if I am using table buffering for my business object in page 3. I am not changing my bus. object in page 1. It is using the default row buffering. When I set back my bus. object in page 3 to row buffering, the application doesn't ask if I want to save the changes no matter how many times I flip back and forth from page 1 and page 3. I set back to table buffering and the error occured again.

In the codes, the ischanged() method returns .T. because function GETNEXTMODIFIED in cdataenv.vcx ccursor class returns -1. I am not setting any blank cursor or initial blank record because my bus. object in page 3 is using a parameterized view whose value is taken from its parent bus. object in page 1.

Does it have something to do with lAutoNewRecord property? But this property is for "No List" form and I am using clistobjedit on page 3 and the form is cbizobjmaintenanceform.

Nerissa Dela Rosa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform