How to Save the record using "From Button Click Event"

Dear All,

I am new to AX , And struggling with basics .

My requirement is to save the record in a table from form controls on button click event , Can any one let me know the best approach.
Because I also see “Override” method “CreateRecord”.

What do you mean by saving a record in table? Do you mean creating record?
Please describe your requirement in detail.

Certainly creating record in Ax table

If you are creating it from form using new button (or) ctrl + N. Why do you extra need code for that?

I have few validations and also need to take actions on other tables before saving the informaiton

You can do the validations in validateWrite();

Can you tell us more about this?