Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a field value
Message
 
To
07/10/2002 06:20:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00708296
Message ID:
00708310
Views:
8
Jos,

Try something like this in a timer's timer event.
* Timer event
IF USED("MyTable")
   LOCAL lcAlias
   lcAlias = ALIAS()
   SELECT MyTable
   IF RLOCK()
      UNLOCK
   ENDIF
   IF NOT EMPTY(lcAlias)
      SELECT (lcAlias)
   ELSE
      SELECT 0
   ENDIF
ENDIF
RETURN
Obtaining a lock on a record causes VFP to refresh it's buffers.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform