Code to create new line in grid. (it seems like CTRL-N)

guys, do you know what is the code that can create a new line in grid, when i click the button, it creates a new line. it seems like CTRL-N



u can use below code in button’s click()

void clicked()





In the above code CITDlgTable is my form datasource table …Instead of that use ur “datasourcetable_ds”

Hi jyothi,

can I write the same code in INIT method, ?

init method will only be called when the form gets opened. Rather use a command(New) button.