Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My data is not showing up on the workstation?
Message
De
08/05/1998 04:52:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/05/1998 15:31:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00097692
Message ID:
00097976
Vues:
34
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform