Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFieldState() and TableBuffering
Message
 
To
29/01/2008 08:47:52
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01286564
Message ID:
01286571
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
>I use GetFieldState() to determine if a record has changed. Is there something similar to determine if a table has changed, or do I need to scan through the records? The buffering code that I'm using isn't as tight as I would like it and I need to have an additional check to know whether a table has changed. Thanks!
SELECT 
GO TOP IN YourBufferedTable
lnNext = GETNEXTMODIFIED(0, [YourBufferedTable])
IF lnNext # 0
   *** Table is changed
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform