Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set deleted changes from on to off ???
Message
 
 
À
30/12/2008 16:19:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01370255
Message ID:
01370256
Vues:
12
Define all sets in either form's Load or if you use DE of the form in DE.BeforeOpenTables() method.

>I wasted some time on this one.
>
>my view didn't behave like it should. Deleted records appeared on the screen but I was sure that deleted was on.
>
>Soooo I began my investigation. It turns out that the cause of my problems is where the SETs come from.
>
>I used to have a prg that I called in my forms. In that prg I had a bunch of sets.
>
>I changed that to put those definitions in a class. WRONG WRONG WRONG.
>
>So if definitions are made from a function in a class "set deleted" appears to become off randomly.
>
>If defined from a prg everything is ok.
>
>Why?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform