Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can DELETE fails ?
Message
From
22/12/1998 06:07:43
 
 
To
22/12/1998 05:58:04
Marcelo Codino
Mystic & Faith - Sistemas -
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00169563
Message ID:
00169566
Views:
19
>If I have 3 consecutive records in a table marked to delete. Can this command fails deleting only the first two records? I´m using SCAN...ENDSCAN.I just tried with DELETE NEXT 3 but the results are the same.
>

If there's an RI trigger preventing the deletion, a DELETE can fail. Realize that the record is still visibile until you move off of it, so of you do a DELETE NEXT n without moving the record pointer afterwards, you'll still be positioned on one of the deleted records, and it will remain visible even if you have SET DELETE ON.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform