Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DELETED ON and SQL Select
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01456091
Message ID:
01456225
Vues:
51
>>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform