Refreshing form's datasource without affecting cursor position

i have a problem with refreshing form’s datasource.

i have already used ds.research(true) but it takes no effect… the datasource table also already have a primary key.

i don’t know why…

fyi, i use ax 2009.

big big thanks for any help and response,

best regards.

i got it! :smiley:

you can use method setPosition() and getPosotion()

{

int pos;

;

pos = MyTable_ds.getPosition();

MyTable_ds.research(true);

MyTable_ds.setPosition(pos);

}