New Button in a form

Hi,

I have a new customized form in which i created a button. i want insert a new line in that form whenever i clicked on that button.

Pls. help me

Thanks in Advance.

right click in New Button → overide method() → clicked → after you can code X++ in that if you want Insert new line then you use method insert() in table ( example: SalesTable. insert()). note: (don’t should delete “super();”)

Hi taukeer,

Use button type - Commandbutton and set command property “New”.

Thanks. Its working fine.

Thanks Its working fine.

In that case, please close the thread by marking the verified answer (“This helped me”).