Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View/Grid does not update
Message
From
30/08/1999 21:30:04
 
 
To
30/08/1999 08:20:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00259101
Message ID:
00259488
Views:
14
>I've a grid with datasource=view on a normal form. I can select a row in the grid and delete the record in one of the underlaying table. But the grid is not updated while the table is correct. When I close the form and open the form again everything is ok. I've tried something with the refresh events, but no success.
>
>Where is the mistake?
>
>Thanks in adance
>Wolfgang




=REQUERY("myView") && will reset the RECNO to TOP

So, you need to first carry the RECNO or KeyField and back to that record after REQUERY

CurKey = myView.myKey
=REQUERY("myView")
Locate for myKey=CurKey
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform