General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>>>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
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