The Data tab lets you add, insert and delete variables. You can:
Add a new variable(s) by right-clicking on any column header on the Data tab and selecting Add Variables. Variables are always added to the end of the variable list and added with a default variable name (for example, VAR00104) and populated with system-missing values for all records for the new variable. You are prompted to enter:
Insert a new variable(s) by right-clicking on a column header and selecting Insert Variables. The new variable(s) is inserted before the highlighted column and added with a default variable name (for example, VAR00104) and populated with system-missing values for all records for the new variable. If non-contiguous variables are selected, Insert Variables will insert the number of variables specified to the left of the first highlighted variable. You are prompted to enter:
Delete a variable or group of variables by highlighting the column(s) you want to delete, right-clicking and selecting Mark Selected Variables for Deletion. The variables are marked for deletion when you save the data file using the Save Data toolbar button or File|Save|Save Data or File|Save|Save Data As. Variables selected for deletion can be contiguous or non-contiguous.
Variables that are marked for deletion can be undeleted by selecting the deleted variables, right-clicking and choosing Unmark Selected Variables for Deletion.
The Variables tab lets you add, insert and delete variables. You can:
Add a new variable(s) by right-clicking anywhere on the Variables tab and selecting Add Variables. Variables are always added to the end of the variable list and added with a default variable name (for example, VAR00104) and populated with system-missing values for all records for the new variable. You are prompted to enter:
Insert a new variable(s) by right-clicking on an existing variable and selecting Insert Variables. The new variable(s) is inserted before the highlighted column or cell and added with a default variable name (for example, VAR00104) and populated with system-missing values for all records for the new variable. If non-contiguous variables are selected, Insert Variables will insert the number of variables specified before the first highlighted variable. You are prompted to enter:
Delete a variable or group of variables by highlighting the variables or cells of the variables you want to delete, right-clicking and selecting Mark Selected Variables for Deletion. The variables are marked for deletion (grayed out in the variables grid) when you save the data file using the Save Data toolbar button or File|Save|Save Data or File|Save|Save Data As. Variables selected for deletion can be contiguous or non-contiguous.
Variables that are marked for deletion can be undeleted by selecting the deleted variables, right-clicking and choosing Unmark Selected Variables for Deletion.
Related topics:
Change data values (Data grid)
Cut, copy, paste and delete data values (Data grid)
Add, insert and delete records (Data grid)
Sort records by variable values (Data grid)