Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted records in views for reports
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00169670
Message ID:
00169829
Views:
21
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform