Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gremlins doing set deleted off ???
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00580258
Message ID:
00580317
Views:
12
Hi Alex.

Your aglobalenvironment.osessionenvironment.cdeleted should be set to ON. SET DELETED is configured in the set method of aglobalenvironment.osessionenvironment. When the app starts up the addchildren method of the application object creates the global environment. You might want to put a SET STEP in the set method to make sure it is getting run and what is happening there.

HTH

Dan

>Hi everybody!
>
>I have a form that pretty much just has a bizobj and a grid.
>
>The bizobj's NoDataOnLoad property is set to .f., which means that the underlying view will be opened normally (without the nodata option).
>
>The problem I'm having is that for some reason when the form is loading, by the time the Bizobj is instantiated, set deleted is set to OFF(!!!!).
>
>As a result the grid shows a number of records that have been deleted.
>
>The way I solved this was by sending the cSessionEnvironment object on the form all the way to the back, so it instantiates BEFORE the bizobj and set deleted has the right setting (ON).
>
>This seems a "patchy" solution to me; especially because since we were kids our moms have always taught us to send our bizobjs to the very back of the forms so they instantiate FIRST.
>
>Is there any setting anywhere in the framework that will set deleted to ON as the default for my application?
>
>THanks!
>
>Alex
>
>PS: VFP7 MM version 6.0b
Previous
Reply
Map
View

Click here to load this message in the networking platform