Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lines Disappearing Mysteriously in from Grid
Message
De
25/07/2003 03:13:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Lines Disappearing Mysteriously in from Grid
Divers
Thread ID:
00813405
Message ID:
00813405
Vues:
36
Hi,

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

This problem occurs only (so far) on two specific machines.
Other machines with the same configuration do not have this problem.
These machines have visual foxpro 8 installed which is the only difference I can see.

Basically in the save code for a form with a grid I have code as follows:

**->>>>>>>>>>Lines are not marked for deletion here
if ntol(prefsall.arti_mbe) and !ntol(WorkSpec.PDMOnly) and !.AllArticleFound
....
endif

.mousepointer=11

SELECT WorkSpec
set order to no_in_row

cLogTable = "TMPDMLOG"
&&TJM not implemented yet S21SessLog(cLogTable, .T.)

** delete lines in specific that are deleted in workspec
set dele off
sele WorkSpec

**->>>>>>>>>>Lines suddenly all marked for deletion here and get deleted
**by this code
SCAN FOR DELETED() AND RECNO>0
.DeleteOneSpec(WorkSpec.Recno)
ENDSCAN

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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform