Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why not deleting?
Message
From
11/10/1999 14:49:48
 
 
To
11/10/1999 14:46:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00274937
Message ID:
00275083
Views:
28
>>>Hi Fred:
>>>
>>>Yes that's the correct scenario. But the records haven't been deleted, I've checked after every test in the database tables, only the parent record gets deleted.
>>
>>Try reversing these two lines:
>>
>>dele all for gidetail.sessionkey = csessionkey
>>replace all gidetail.lc_action with "D"
>>
>>Change to:
>>
>>replace all gidetail.lc_action with "D"
>>dele all for gidetail.sessionkey = csessionkey
>Hi Fred:
>
>I've already tried this...doesn't work, I can't figure out why only
>that it's skipping the records.

Step through the code with the debugger. Make sure you have a "WatchPoint" on the child table values (and RECNO('gidetail')) so you can see exactly what's happening when you do the delete. It still sounds like you have some kind of filter on the child table, otherwise this should work!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform