>>Normally Refresh should work in your case. Just check couple things:
>>1. Make sure that grid RecordSource (not ControlSource) is table.field.
>>2. You can use Nodefault in Valid event to support needed SetFocus().
>>3. If it still doesn't work but manual mouse clicking saves the situation you can click programmatically using MOUSE command. I use it sometimes not for standard but Active-X controls.
>
>
>Thank you for your suggestions. The third option worked but i can't get the cursor to return to the text field. i used Nodefault in the valid method and then setfocus.
>
>In desperation i added
> go bottom
>and holy cow it worked! The grid is finally refreshed, and i feel refreshed also :)
To return mouse you could call MOUSE command again:
nMouserow=MROW(thisform.name,3)
nMousecol=MCOL(thisform.name,3)
MOUSE CLICK AT .... && click on grid
MOUSE AT nMouserow,nMousecol && return mouse without clicking
*** also you can hide/show mousepointer here
Edward Pikman
Independent Consultant