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
set dele off
go top
do while not eof()
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