Update iFrame with parameter when I click record

Update iFrame with parameter when I click record

I want to create and HTML page with a report widget up and an iFrame with parameter bottom.
When I click on a record I would like update iFrame bottom with a parameter that is a field of clicked record.
In alternative could be a button in every row with a custom action that update iFrame.

Any idea?

Best regards Maurizio