Deleting a tag from the project database

Delete a tag that's no longer in use by deleting its line in the Project Tags datasheet.

Before you delete a tag, we strongly recommend that you use the Cross-Reference tool to make sure the tag is not being used anywhere in your project. (If you delete a tag that is still being used, then you will not be able to verify and run your project.) Fix any screens or worksheets where the tag is being used before you proceed.

  1. Stop the project if it is running.
  2. Open the Project Tags datasheet.
  3. Right-click anywhere in the datasheet and then select Disable Sort from the shortcut menu. Tags cannot be deleted when the datasheet is sorted in any way. The tags revert to their default order — that is, the order in which they were created.
  4. In the datasheet, find the line for the tag you want to delete.
  5. Right-click the line and then select Delete Line from the shortcut menu. (If the option is disabled, then you still need to disable sorting as described above.) An alert dialog is displayed asking you to confirm the action.
  6. Click Yes. The line is deleted from the datasheet.
  7. Save and close the datasheet.