Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My data is not showing up on the workstation?
Message
From
08/05/1998 04:52:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/05/1998 15:31:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00097692
Message ID:
00097976
Views:
31
>>Set a timer to check changes and call thisform.refresh.
>>Cetin
>---
>Hi Cetin
>would you give me a small code example please. :)
Hi Robert,
Add a timer to form.
*Timer.interval = 5000 && Time to refresh in millisec
*Timer.timer event
* Check if in edit otherwise values entered would also revert (refresh)
* to tableupdated() ones
if !thisform.editmode
   thisform.refresh
endif
Robert do not forget that this is a refresh and as usual would move rec pointers in child tables etc. To test it you could build a form with wizard add timer control with
*Timer.timer event
if !thisform.txtbtns1.editmode
 thisform.refresh
* Also could add this for a notification
* if !rlock()       && Pessimistic buffering is on and reprocess set to 1
*  wait window nowait "Someone is editing this record."
* else
*  unlock
*  wait clear
* endif
endif
then fire at two different tasks to see.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform