Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difficulty requerying combo boxes
Message
From
05/01/1999 15:24:29
 
 
To
05/01/1999 14:47:47
Cheryl Qualset
Qualset Computer Consulting
Davis, California, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00170740
Message ID:
00172905
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform