refrsh form or grid in ax

hi all

i have a form and a grid that i want to refresh data in grid when i click in the button

i use update command in this button

thanks

Hi,

choose the one which applies best for your case:

http://kashperuk.blogspot.ch/2010/03/tutorial-reread-refresh-research.html

According to your description, it seems that this is the combination you need:

YOURTABLE_DS.reread(); // reread fresh data from database

YOURTABLE_DS.refresh(): // then redraw form with this fresh data

Janis

Hi,

You can also use the following code : yourForm_ds.research(true);

Regards,

Thomas

Hi jm,

Thomas’ post has proven successful for me in the past and it’s only one line of code. Here is a blog post on the differences from the datasource reread, refresh, and research. It explained a lot about the differences for me.

http://kashperuk.blogspot.com/2010/03/tutorial-reread-refresh-research.html

Regards,

Bob

hi Thomas

thanks for your syntax

it work CORRECT