Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffered data showing on users machine
Message
De
15/12/2006 09:52:16
Mk Sharma
Shrishti Solutions
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Buffered data showing on users machine
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01177968
Message ID:
01177968
Vues:
57
i am trying to use buffering with private data session.

some times when i make entries on server and users machine at same time, my data appeare in users grid when user scrolling in grid with arrow/pagedown/pageup.

should i use cursorsetprop in load event of the form or in command buttons.

below is the set commands i am using in load event of the form
Set Status Bar Off
Set Talk Off
Set Century On
Set Date Ital
Set Echo Off
Set Deleted On
Set Safety Off
Set Exclusive Off
Set Autosave On
Set Escape Off
Set Multilocks On
Set Reprocess To Automatic
i am using cursorsetprop in command buttons.

in command button "ADD" and "EDIT"
cursorsetprop("buffering",5,'inward')
cursorsetprop("buffering",5,'inward1')
in command button "SAVE"
sele inward
tableupdate(.f.,.t.)
sele inward1
tableupdate(.t.,.t.)
cursorsetprop("buffering",1,'inward')
cursorsetprop("buffering",1,'inward1')
in command button "CANCEL"
sele inward
tablerevert(.f.)
sele inward1
tablerevert(.t.)
cursorsetprop("buffering",1,'inward')
cursorsetprop("buffering",1,'inward1')
warm regards,
mk.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform