Inserting recs from one table to another in EP in AX 2012

Hi All,

I have two tables “Table A” and “Table B”. In “Table A” i have student details.I have a set of records selected based on a criteria say"students studying in the same grade" and There is a button in the “AXFrom” control which on clicking should insert the records in “Table A” to “Tables B”.

There are many solutions for record insertion in “AXGrid”.

Please can anyone help me.

Thanks Rajee