I have a COM object which returns me a rs I am printing out the recordset in a table. I want the title of each column to be a hyperlink <BR>so that when user click on it it can sort the table on that column heading....<BR>I need to pass the values of the each of the heading to the com function ....<BR>say I gave heading <BR>fname<BR>lname<BR>date <BR>and in com function I have this parameter strSortBy<BR>how can I pass the different values to the com parameter ...<BR>thanks for help