Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Grid and Deleted records
Message
From
19/11/2003 07:45:20
 
 
To
19/11/2003 03:34:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00851299
Message ID:
00851351
Views:
9
>Hi,
>
>I am using data grid to display a list of records.
>I am issuing a delete command on user click REMOVE button. However, it keeps on showing the record even though it is deleted.
>
>Set deleted is ON.
>I am refreshing the Grid after delete command.
>I am changing the record position using GO TOP.
>
>Here I noticed, that if I create a new record, and try deleting that record before issuing TableUpdate(), it will still show in Grid.
>
>But if I issue TableUpdate() and than give delete command, it refreshes the Grid.
>
>Please help!!

Hi.
To delete a record of a buffered table before TableUpdate() you have to issue TableRevert()
To force the Grid to refresh after the deletion try
Thisform.Grid1.SetFocus
KeyBoard '{Ctrl+Tab}{BackTab}'
HTH
Kamil
A moment of silence is our cosmic reset button.
Previous
Reply
Map
View

Click here to load this message in the networking platform