Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lines Suddenly Marked as Deleted in grids...
Message
De
15/09/2003 05:38:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Lines Suddenly Marked as Deleted in grids...
Divers
Thread ID:
00828919
Message ID:
00828919
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform