# 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://2447928882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvXrykqvPLGss8l2Lssay%2Fuploads%2FMS4Mc44saDdOj3US41uo%2FHistory%20toolbar.png?alt=media\&token=73e8e2a2-a9f9-4211-a6d3-7bd2af2d0d44)

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.
