how to strore data from form to a table in AX

Hi all, I am very new to AX . Now i new that how to create a form . i kept 2 text fields with the labels . Now i kept a button that on after click the button i need to store the data which is present in the text boxes .

So what is the code to write in void Click function.

Thanks in advance.

Hi all ,

Now i understood that to store the data . I mean it automatically stores the data.

Now the other thing is that i tried of inserting second record . bUt it is replacing the first one .

This link might help a bit.