Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting records in a view
Message
From
21/11/2006 06:07:22
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
21/11/2006 05:27:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01171359
Message ID:
01171366
Views:
7
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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform