Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update locally buffered data?
Message
From
17/11/1998 15:46:48
 
 
To
17/11/1998 13:52:16
Kent Vignale
Wolfbyte Software Inc.
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00158377
Message ID:
00158494
Views:
17
Kent ----

Before doing an update, use the CURVAL() function to check if any of the fields have been updated at the server since the last refresh; i.e.:

IF CURVAL("lastname") # table.lastname AND table.lastname = OLDVAL("lastname")
WAIT WIND "Data has changed!!!"
ENDIF



>Is there a way to update the data buffered locally on your workstation. We can use Set Refresh to 5,1 but
>find that this can slow down the network. (buffer updated every second.) Also there is still a one second window were another workstation could get the wrong data. Native tables can’t use Refresh(). Local views could be used accompanied by Refresh() but not a option right now.
>
>Problem : application uses native tables. User updates data, changes are not seen on other workstations until the time in set refresh has expired.
>
>BufferMode -Optimistic
>DataSession - Private Datasession
>
>Thanks.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform