Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Deleted in Views
Message
From
19/03/2005 19:07:56
 
 
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:
00997643
Views:
10
June,

Check to be sure your oSessionEnvironment object is being instantiated before your business objects. (See the bottom of page 116 and the top of page 117 in the MM8 Developers Guide.) Once in a while (OK, more than I'd like to admit), I drop a business object on my form and remember to "Send to Back", but forget that the oSessionEnvironment object needs to be moved in the ZOrder so it remains behind/before any business objects.

I spent hours in the debugger one day, tracking SET('DELETED'). The good news is I only had to learn that lesson once. A perfect example of "Experience is what allows you to recognize a mistake when you make it again".

Laura


>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