Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with bufferd table goes out of scope after Revert(.
Message
From
22/10/2005 06:54:16
 
 
To
20/10/2005 16:30:50
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01060851
Message ID:
01061377
Views:
9
>Hi,
>
>I use table buffering for my app.
>When I use a grid to enter new records, there is a chance the user wants to delete a new append record before saving the data.
>If I give, in code, a tablerevert(.F.) to delete the appended record and then give a Grid.refresh the Grid goes, in my opinion, completly out of scope.
>Not any record is displayed then. The grid is completly empty, but all the other records are still there (table).
>
>Anyone know how I can controll this situation or what I do wrong ??
>
>Thanks.
>Jan Alderliesten

try:
thisform.anothercontrol.setfocus
tablerevert(.T.)
thisform.grid.setfocus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform