>I tried and it works
>Thank you Tore
You're welcome!
>>I showed you how to get what you want, did you try it?
>>
>>>Record is now displayed in the right position but the grid formatting went
>>>lost .
>>>I tried imposing grid.recordsource = '' before your code but...doesn't work
>>>
>>>
>>>Fabio, il record ora rimane visualizzato nell posizione giusta ma mi salta
>>>completamente la formattazione del grid.
>>>Ho anche provato con grid.recordsource = '' prima del tuo suggeriimento ma
>>>stranamente non funziona.
>>>Come mai ?
>>>Grazie
>>>Alessio
>>>
>>>>>It works but i still have a little problem :
>>>>>before starting the procedure to get the new cursor i call the activatecell(1,1) method, get the PK then call the procedure and locate for the PK again
>>>>>then refresh the grid.
>>>>>The record is placed at the half of the rows in the grid....
>>>>>is there a way to put it in the first one ?
>>>>>Thx again
>>>>>Alessio
>>>>
>>>>try:
>>>>
>>>>replace grid.refresh with:
>>>>
>>>>....grid.RecordSource = ....grid.RecordSource
>>>>
>>>>
>>>>but...