Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete new row in grid - not visually updating
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00133631
Message ID:
00133641
Views:
16
Well...this adds a little more light on the subject. So, it's only occorring when you try to delete a newly added record from the grid that is the child of a relationship. I'm away from my PC right now (I'm on a friend's Mac) but I'll try to recreate your situation tomorrow night when I get back to my PC. Is the table buffered?

>I thought I had this figured out yesterday - but I was wrong.
>
>I first enable my child grid to allow new rows with AllowAddNew. The add a new row while navigating the grid - then decide to delete the row from the grid by trapping the delete key with the keypress event within the grid. The row is deleted - the record pointer moves to the previous record - BUT the deleted last row is still VISIBLE.
>
>SET DELETED is ON
>
>thisform.grid1.setfoucus
>thisform.grid1.refresh --- in trap keypress event
>
> - these commands help if it is not the last row being deleted - but do not eliminate the problem - moving the record pointer with code does not solve the problem - moving the record pointer in the parent table and back - does refresh the display - but must be done outside the grid.
>
>Any ideas??
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform