Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh grid with a remote view
Message
 
 
To
11/07/2003 15:50:50
Xiaodong Yan
Better Database Solutions
Spring, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00809387
Message ID:
00809815
Views:
36
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform