How to create record buffer at runtime in MSD axapta

To   create record buffer at runtime in axapta you can get hints from below code.


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

It will create buffer dynamically.