Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleted record shows in my form. It shouldn't
Message
De
25/01/2013 15:18:29
 
 
À
25/01/2013 14:44:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01564108
Message ID:
01564144
Vues:
48
>>>>>Simple form, one table.
>>>>>
>>>>>Set delete is on in the init of that form.
>>>>>
>>>>>First record of that table is deleted but is shows in the form.
>>>>>
>>>>>When records other than the first one in that table are deleted they don't appear in the form as expected.
>>>>>
>>>>>Anyone can help me with this weird behavior?
>>>>
>>>>It probably means that you switched SET DELETED ON after you displayed your rows?
>>>
>>>Like I said earlier set delete is in the init of the form
>>
>>I always use SET DELETED ON in the Load of the form (or DE if you use DE). It may be that the grid already got rows at the Init.
>
>I will scrap that form and build another one just to see what happens. Thanks all for the help.

Just my .02 - I set Deleted ON as the first statement that gets executed in any application, and set it off as needed (say, for a form) and set it back on immediately after that need has passed.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform