Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET FILTER Command
Message
 
À
24/05/2002 09:51:14
Roman Segaud
Laboratoires Fortepharma
Nice, France
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00660922
Message ID:
00661025
Vues:
38
>Using a view instead of SET FILTER why not ? But the problem will be to refresh my local grid to display correct data, because using a network, change could be done by other users, then it will be imperative to regenerate my view each time my user finish a transaction to be sure he've got the last data on grid.

Well You can simply call refresh() to fetch changes done since opening it. That's just like refreshing the filter. I am not sure if it will cause the grid to show only white after that (never tried). In this
case You would have to
lc_WasRSource = This.Grid1.RecordSource
This.Grid1.RecordSource = ""
Refresh(..)
This.Grid1.RecordSource = lc_WasRSource
I think it should work.

HTH
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform