Not sure exactly how the print function works, but I think you may have to create a SQL query that only retrieves one record, and send that to the print function... if you cant do that directly, you could create a temp table to store the result of the single query then print that table.