Skip to main content

Empty the temporary tables

This wizard empties tables that the program fills with temporary results, chiefly the maintenance log, and then shrinks the database. Run it when the file grows because of the maintenance log, or after you finish using the carried-over prices of last year.

Before you begin​

  • Open the company file and sign in, and check the conditions in Run files maintenance: the Files Maintenance permission, and the other users out of the file.
  • Take a backup. Emptying is final, and the wizard shows no backup page and asks no confirmation.
  • Decide whether to delete the whole maintenance log or keep the latest period of it.

Steps​

  1. Click File, then Tools, then Files Maintenance. Select Empty the tables that contain temporary results and click Execute (details).
  2. In the Maintenances Log row, Empty is set to "Yes" when the page opens. To delete the whole log, leave Store other as "NO". To keep the newest items, choose "Yes", then type a number such as 30 in Duration and choose "Day" or "Month" in Day/Month.
  3. To empty Customer price of last year or Last purchase price of last year, set Empty to "Yes" in its row. The program deletes the whole table, and the other cells of the row cannot be edited.
  4. Click Start. If every Empty cell is "NO", a message asks you to select "Yes" for at least one table.
  5. Wait for the message "Operation successfully completed". You cannot stop the run after Start, and shrinking can take long with large files.
  6. Click Close in the Files Maintenance window so that other users can sign in.

Result​

The items of the tables you chose are deleted, and the program shrinks the whole database, so the database file on the disk gets smaller. Example: with Store other set to "Yes", Duration 30 and Day/Month "Day", the maintenance log items recorded in the last 30 days remain. Run the operation with the default options of the page and the whole maintenance log is deleted. The columns and rules are explained in The columns.

If something goes wrong​

MessageWhy it appearsWhat to do
Must select "Yes" in "Empty" field to one table at leastYou clicked Start while every Empty cell is "NO".Set Empty to "Yes" in at least one row.
Are you sure you want to exit and cancel the maintenance operation?You clicked Cancel before Start.Yes closes the wizard without deleting anything.
An error was encountered while performing the operation.The emptying failed with a database error.Try again; if it repeats, contact technical support.
The program does not accept the Duration numberYou entered zero or text.Type a number greater than zero.

All the messages of the wizard are in Empty the tables.

This page applies to alameen ERP 10, version 10.1.79.764.