ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: Rappeler des enregistrements Deleted() avec une vue   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

lun. 24 février 2014, 21h57

FoxInCloud (Th. Nivelet)
France France

atoutfox.public.association

Re: Rappeler des enregistrements Deleted() avec une vue

dans http://computer-programming-forum.com/2-vfp/b186ddbae84559a5.htm, Colin Nicholls confirme :

I have determined that using views with SET DELETED OFF is potentially
lethal, due to two things:

- deleted records are retrieved without their DELETED() information
- recalling a deleted record will INSERT it again into the database.

If you want the ability to mark records for deletion like this, then add
your own semaphor flag to the view, or something similar, but don't use
DELETED().

- Colin Nicholls

Ceci rend la gestion des clés uniques (candidate) très délicate

Permalink : http://www.atoutfox.org/nntp.asp?ID=0000013969
20 286 messages dans le forum • Liste complète des messages

www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2026.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3