Creating buffer dynamically


i am trying to copy the data from one form and insert into a table**(targettable).**

And i want to get targettable dynamically ( i am getting targettable through a dialog like dialogfield.value() ) and I want to create buffer for targettable .

if any one know please help me .



you can use temp table for that…

Do you mean something like this?

DictTable dictTable = new DictTable(tableId);
Common targetTable = dictTable.makeRecord();

Thanks Martin it’s working

Great! Please mark the reply as answer - everybody will see that the thread was closed and people with the same problem will easily understand what was the solution for you.