Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetNextModified kind of works
Message
From
15/09/2004 09:55:13
 
 
To
15/09/2004 07:53:44
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941853
Message ID:
00942375
Views:
26

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')
Previous
Reply
Map
View

Click here to load this message in the networking platform