Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote View, Buffering and SELECT SQL
Message
De
12/06/2003 07:07:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00799268
Message ID:
00799271
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform