Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can SEEK ignore deleted records?
Message
De
04/10/2007 08:15:01
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01257809
Message ID:
01258469
Vues:
16
>Hi Sergey
>That did it!
>I put had previously put "set deleted on" at the end of the load() method.
>Now I put it in front of the Select * statement & it worked!
>Thank you for all your help.

Hi Bill

One of the things I like about frameworks is how they embed standards and best practices into an application for you. Doesn't it seem like learning SET DELETED ON as one of the first things your form should do the way you just did is extraordinarily painful?

Well, you can create a class that sets not only set deleted, but other settings that are specific to private datasession forms. Then the very first thing you should have in the load of your form class is a line to instantiate that object.

Thus you'll be extending your own framework. :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform