Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Deleted in Views
Message
 
To
18/03/2005 15:40:02
June Kendrick
Kendrick Associates, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00997429
Message ID:
00997566
Views:
14
June,

By default MM sets deleted ON. It sounds like you are missing a DODEFAULT() somewhere. Put a SET STEP in the SET method of the oSessionEnvironment object (don't forget to call DODEFAULT) of your form and step through it. If it's setting DELETED ON correctly then put a break on SET('DELETED') in the watch window of the debugger and see where it's getting changed to OFF.

-Dan

>Now that I have deployed my application, I am noticing that my views are including deleted records, which so far, I don't want. How do I not include them?
>
>Pre VFP7, I'd use set deleted on, but it doesn't seem to be working the way I'm trying it.
>
>If I add a field to a view of "set('deleted') as csetdel", then the value reported back is OFF within my program. If I browse the view from the command line, then csetdel reflects the setting of set deleted. What do I have to do to get my views to use set deleted on? I'm using VFP 7 and MM 8.
>
>I tried setting cdeleted to on in the osessionsetting object of the form, but that didn't do any good. I tried putting set deleted on in the init of the form, and that didn't work. I'll try some other stuff, but thought I'd check here.
>
>Thanks,
>
>June
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform