Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lines Suddenly Marked as Deleted in grids...
Message
From
15/09/2003 05:38:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Lines Suddenly Marked as Deleted in grids...
Miscellaneous
Thread ID:
00828919
Message ID:
00828919
Views:
46
Hi,

I am having an extrelemy bizarre and serious problem where lines are being
mysteriously marked for deletion in a grid.

This problem is not reproducable on all computers but the computers
with similar configuration do not have this problem. This happened since upgrading to foxpro 8.

What I noticed is that the following code has the problem:
select workmeas
**->>>>>>>>>>No Lines deleted here
set dele off
go top
do while not eof()
**->>>>>>>>>>Lines Suddenly marked as deleted here
     if deleted()
         thisform.delcurrent(.F.)
         sele workmeas
         tableupdate()
      endif
      skip
enddo
set dele on
When I comment out the scan everything works except lines that the functionality to mark lines as deleted does not work.
When I run the same code with the debugger open the problem does not occur.

Anyone have any idea how these records could get marked for deletion?

Alternatively does anyone have any better code to handle the delete mark in the grid that works 100% ok?

BR
Tim
Next
Reply
Map
View

Click here to load this message in the networking platform