Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleted records in views for reports
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00169670
Message ID:
00169829
Vues:
28
>>What puzzles me is that in the cDataEnvironment class, there is code in OpenTables() that does a SET DELETED OFF then call VFP's default OpenTables(), and then sets DELETED back to what it was before. Why does the framework SET DELETED OFF here?
>>
>>Thanks.
>
>I would assume it is a speed think. Since all the cursors are open with NODATAONLOAD (unless you modified this property) in your cursor class then it shouldn't matter. After the tables are opened the class sets DELETED back to how it was prior to opening the tables.
>
>BOb

Actually, NoDataOnLoad is set to .F. in the cReportDynamicViewCursor class. That is probably why I'm getting deleted records.

That means that the default behavior for views for reports is to select even deleted records? Is that true?

What is the best way, with the framework, to get around this?

Thanks.

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform