>My setting focus to the grid after adding an item has solved apart of my
>problem, however when I delete an item the problem stillpersists. Let me elaborate - I'm using a grid recordsource - child table( form optimistic buffering, private data session ). I'm usingcmdbuttons for adding/deleting items. Now when I add a new item &then press the delete button the item is still displayed in the grid( I'm setting some default values ). I think that as this is the lastrow in the grid on refreshing only take place to the row above asthis record has been deleted! What I think I need is a method tototally blank out the grid and refresh it!Any ideas will be greatly be appreciated as I've not been able tocreate a one-to-many entry form.Thanks in AdvanceSonali
If you delete a item but record pointer remains on it, it doesn't disappears, like in a browse window. You can move the record pointer for instance issuing 'locate' or 'go bottom' or 'go top' after the delete command.
I think that remain viewing the deleted record is a good thing, as you can recall it from the deleted mark in the grid.
Other method can be set deleted off, set deleted on.
If you still want to totally repaint the grid, you can leave the recordsource property = "" and then again set it to the alias. But i think this is never necesary.
Saludos,
A.G.P.
---------