Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Deleted in Views
Message
De
20/03/2005 23:55:35
June Kendrick
Kendrick Associates, Inc.
New York, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00997429
Message ID:
00997748
Vues:
12
Laura,

Thanks for the suggestion. I coded this last year, and now find that I've forgotten half of what I learned then <g>.

I checked the Zorder, and made sure that the oSessionEnvironment is loading first, but the view still shows Deleted OFF.

Thanks,

June

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform