Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetNextModified kind of works
Message
De
15/09/2004 09:55:13
 
 
À
15/09/2004 07:53:44
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00941853
Message ID:
00942375
Vues:
28

I tried to muddle my way through that post. Maybe it's the language difference, but if you could provide a sentence or two summarizing the point it's trying to make I would appreciate it.


Sentence:
on VFP8SP1 GETNEXTMODIFIED() have a bug,
it return 0 when a SETFLDSTATE clear the field's modified flag.

It is fixed into VFP9Beta.
CREATE CURSOR pippo (aa i)
CURSORSETPROP("Buffering",1)
APPEND BLANK
CLEAR
set multilock on
CURSORSETPROP("Buffering",5)

replace aa WITH 77

? 'before SETFLDSTATE',GETNEXTMODIFIED(0) at 20, GETFLDSTATE(-1),OLDVAL('aa')

=SETFLDSTATE(1,1)

* NEXT LINE PRINT 0,11 on VFP8SP1
* NEXT LINE PRINT 1,11 on VFP6SP5,VFP7SP1,VFP9BETA

? 'after SETFLDSTATE', GETNEXTMODIFIED(0) at 20, GETFLDSTATE(-1),OLDVAL('aa')
=TABLEUPDATE()
? 'after TABLEUPDATE', GETNEXTMODIFIED(0) at 20, GETFLDSTATE(-1),OLDVAL('aa')
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform