Information générale
Catégorie:
The Mere Mortals Framework
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement