# VQL Execution History

The **History** records all successfully executed VQL statements for further use. The toolbar buttons below allow the VQL execution history tobe navigated, as well as the **History Panel** to be toggled.

![History controls](https://content.gitbook.com/content/Tm33LjoydNGJU9PfUTFj/blobs/d0YSD6oWD1P9wR26p1LJ/History%20toolbar.png)

Clicking **Back** or **Next** loads the corresponding query into the input control, replacing the existing content.

The **History** **Panel** displays all recorded commands in a list.

To copy a command, either double-click it or use drag-and-drop. The content of the target input area will be replaced, unless a part of it has been selected.

Copying a command to a script view will insert the command at the current cursor position without overwriting the existing content, unless something is selected.

The **History Panel** is displayed on the left side of the session window by default, but it can be moved around and anchored in different places of the session window.
