General information
Category:
The Mere Mortals Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only