Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffered data showing on users machine
Message
From
15/12/2006 09:52:16
Mk Sharma
Shrishti Solutions
Mumbai, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Buffered data showing on users machine
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01177968
Message ID:
01177968
Views:
56
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.
Next
Reply
Map
View

Click here to load this message in the networking platform