Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My data is not showing up on the workstation?
Message
From
12/05/1998 11:21:00
 
 
To
08/05/1998 04:52:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00097692
Message ID:
00098775
Views:
43
>>>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
---
thanks - I will try it... :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform