Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difficulty requerying combo boxes
Message
De
05/01/1999 15:24:29
 
 
À
05/01/1999 14:47:47
Cheryl Qualset
Qualset Computer Consulting
Davis, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00170740
Message ID:
00172905
Vues:
25
>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
Fil
Voir

Click here to load this message in the networking platform