I am able to retrieve data from my SQL database without a problem. I need to however sort the data into different tables within the same asp page. I have tried duplicating the parts of the script that i need down the page and sorting my database results by product_name but i get all sorts of error messages. I need to take my results, sort by product_name and enter into a seperate table for each product. Does someone have any advice on this??<BR>P.S. i am relatively new to ASP.<BR>Thanks in advance.