I have two forms. form1 contains form2 as a sub form. subform form2 has the table. i want to sort the table by clicking on it. but in run mode i am not able to get it on clicking. please help me. i got a core to filter and for that i used a huge code and separate form. now please help for sorting the table by particular column/ multiple columns.