Information générale
Catégorie:
The Mere Mortals Framework
>What worries me is the time consuming task of digging into code to find out things, all you know about this is “Don’t Auto-Requery the business object (default)” when nRequeryType = 0 (from the devguide), I do not feel comfortable with the idea of requery() being fired over and over without knowing it.
>
>If the view(s) will be requeried again whenever you have NoDataOnLoad = .F. then I don’t se too much sense on using it. Setting nRequeryType = 4 “Requery when the business object instantiates” could work for most cases (except mine where some extra data should be added before the Init and at the DE’s PostInitHook)
>
>MM has been an excellent tool for my applications and there’s always a good reason why things work like that, I hope Kevin could jump in and clear out this.
>
>
>>Oscar,
>>
>>I believe you are right. The Auto Requery should not depend on the NoDataOnLoadSetting. But if the setting is false, the cursor may be requeried. I havn't dug into the code too deeply.
Oscar,
i jsut remembered something. The refresh method of the bizobj will call the requery method. That could be part of your problem.
Précédent
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