Information générale
Catégorie:
The Mere Mortals Framework
>The deleted records are showing up in the views because of code in the cDataEnv that unconditionally sets deleted off before it opens the tables. This is generally not the desired behavior in my apps, especially since there is no way to tell a deleted record from an non-deleted one after the query. Some people have added a field to their views (DELETED() AS ldeleted) to get around this. I prefer to control the deleted setting and only use the added field when I need to see the deleted records.
>
>Cheryl
If you keep the default of NoDataOnLoad of true... then, in the business object, set the nRequery to automatically requery the first time the form is activated... and, in the PostRequeryHook of the business object, requery the combobox, you should get the combobox populated without the deleted records.
BOb
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