Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh grid with a remote view
Message
 
 
À
11/07/2003 15:50:50
Xiaodong Yan
Better Database Solutions
Spring, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00809387
Message ID:
00809815
Vues:
37
Sheldon,

This ought to work great:
with thisform
   .LockScreen = .t.
    requery( "theview" )
   .grdX.Refresh()
   .grdX.Reposition() && assuming this is where your code is
   .LockScreen = .f.
endwith
>I used a remote view as the data source for a grid updated by a timer. I have no problem reposition to the current record after "=requery()". Problem is the grid will flicker during requery/reposition. Although only takes a second, still very annoying. Tried lockscreen, but not a good idea, either.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform