tks vinit but i also want to be able to dynamiclly pass the column name as well.