How to execute code at run time in MSD axapta

If you want to execute x++ code which you generate it at runtime then evalBuf method can help you.

This is an example.

evalBuf("info('This message is comming at run time code');");

You can use same with table,form ,report etc as per you requirement.