Amar,
Your print_table procedure is cool. Wondering what happens if more that one row selected ??