Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DELETED ON and SQL Select
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01456091
Message ID:
01456225
Views:
50
>>>>It's VFP 8
>>>>
>>>>I did a code reference search and the only SET DELETED commands set it ON.
>>>>
>>>>This code is a method in a modal form. Coud that have started a new data session?
>>>>
>>>
>>>
>>>If the form uses Private datasession, then indeed it uses its own SET DELETED setting. To avoid confusion, use
>>>
>>>SET DELETED OFF in the Load method of your form's Base class.
>>
>>I hope no one takes that as general advice.
>
>I meant SET DELETED ON - good you spotted the typo, thanks.

But that wasn't what I meant. I don't think altering settings in a form's Load is a good idea, at least not without saving and resetting the old value. Doesn't really belong in a form method, either, more like the app level.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform