Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting records in a view
Message
De
21/11/2006 06:07:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
21/11/2006 05:27:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01171359
Message ID:
01171366
Vues:
8
Kurt,

My best idea, Are you shure that the key is unique within the view?

DELETE FROM locks on a per record basis. (IOW it locks the record, performs the delete and so one)
Have you tried to delete the record one by one in browse window?
Have you tried
DELETE FOR isp_deliverynote == '00000055'
TABLEUPDATE(.t.)
?
Does this change something (DELETE FOR locks the table)?

Agnes
>Hi all,
>
>i have a view and when i do "DELETE FROM vwindia_shipment_product WHERE isp_deliverynote == '00000055'" all my records are deleted except one although this record also match the criteria. When i do the delete again only then is this record deleted. I've check if there is a lock on the record the first time but there isn't any.
>
>Somebody has a clue why this record isn't deleted ?
>
>thnx
>
>Kurt
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform