Here is a template to link the ADO and Query components dynamically with a Restore button.
Download from here: Click to Download