Implementation of print selected record.

It's a work in progress.