Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote View, Buffering and SELECT SQL
Message
From
12/06/2003 07:07:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00799268
Message ID:
00799271
Views:
24
>I have a remote view with Buffering set to 5 (Optimistic table lock)
>The problem is when I issue SELECT Sum(numField1) FROM MyRemoteView
>the uncommitted changes are not included in the result.
>If I set the buffering to 3, everything works fine.
>
>Is there any way to include the uncommitted changes into SELECT if the buffering is set to 5 ? (without calling the TableUpdate() of course )
>
>Any help is appreciated

Zoran,
With buffering (even with 3) you cannot select-SQL values that are not tableupdated (with 3 sounds like you're seeing implicitly tableupdated result).
However xBase commands work. ie:

select myRemoteView
lnRecNo = recno()
sum numField1 to lnSum
go lnRecNo

*calculate sum(..) .... && the same way
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
Previous
Reply
Map
View

Click here to load this message in the networking platform