Dynamic Column Generate in TABLEBOX

Dear all,

I want to Create Dynamic column in tablebox…my problem is that, i am Developing School Management Module in Navision … …and one table has standard (e.g. 1st standard,2nd Standard) wise subject… and i want to develp form such as that when user select the

Standard from dropdown list …atomatic how many subject belong to that class …column should generate in table box. same as our Analysis by dimention. …when user select period … automatic period column is generating…

if possible please provide me c/side code.

Please Advice me…

Thanks in advance

P.C.