SAVE command

Copies an Analytics table and saves it with a different name, or saves an Analytics project.

Syntax

To create a copy of an Analytics table and save it with a different name:

SAVE new_table FORMAT ACL_table

To save changes to the current project:

SAVE

Parameters

Name Description

new_table

The name of the new Analytics table to create and save.

Note

Table names are limited to 64 alphanumeric characters. The name can include the underscore character ( _ ), but no other special characters, or any spaces. The name cannot start with a number.

FORMAT ACL_table

The name of the existing Analytics table. Use the name of the table layout, not the name of an associated data file.

Examples

Creating a new table based on an existing one

You create a new table called Payables_March based on the existing table Payables_master. Payables_March can then be linked to the March payables data file:

SAVE Payables_March FORMAT Payables_master

Remarks

How it works

SAVE FORMAT produces a result similar to copying and pasting an Analytics table in the Overview tab in the Navigator. A new Analytics table is created and associated to the same data file or data source as the original table.

If required, you can link the newly created table to a different data source.

Using SAVE to avoid prompts

At certain points, Analytics prompts you to save changes to the current project. To avoid interruptions in the execution of scripts, you can use the SAVE command to save changes before Analytics prompts you.