Check the file structure
The Check File Structure wizard compares the tables of the open file with the structure the program uses, and lists the tables, fields, indexes and foreign keys that are missing or extra. Use it after a file update or move, or when database error messages appear that the data of the file does not explain. The wizard repairs nothing in the file: it only lists the differences.
Before you begin
- Open the company file and sign in, and review the Files Maintenance permission in Run files maintenance.
- This wizard needs no backup and shows no backup page, because it does not write to the file.
Steps
- Click File, then Tools, then Files Maintenance. Select Check File Structure and click Execute (details).
- On the options page, clear any of Missing Index, Data Type Mismatch and Missing Foreign Keys that you do not need to compare. All three are ticked the first time the page opens (afterwards the page keeps your last choice while the program stays open), and the comparison of tables, fields, their number and their order is always done. Click Next.
- Click Start. The bar advances until the message "Operation successfully completed" appears. Close the message.
- Read the seven counters at the bottom of the page. If all show
0, the table structure matches the standard structure in what you compared. - If there are differences, read the list. The Error Type column names the difference, Error Number is its fixed number, and Error Message names the element and says whether it is missing from the database or from the standard structure. Click a column heading to sort the list by it. The meaning of each type is in Error types.
- To keep the differences click Export, choose the folder, and keep the suggested name
Amn schema errors.csvor change it. Send the file to technical support so that they deal with the differences. - Click Close, then Yes at the question, and click Close in the Files Maintenance window.
Result
Nothing changes in the file. The list and the counters stay on the page until you close the wizard or click Start again. The counters of tables and fields add up the missing and the extra ones, so read Error Type to tell which.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| Are you sure you want to exit and cancel the maintenance operation? | You clicked Close on the result page. | Click Yes to leave, or No to keep reading. |
| The file already exists on the disk, do you want to replace it? | You chose an existing file in Export. | Yes replaces it, and No cancels the export. |
| Can't open file | The export file could not be opened for writing. | Choose another folder where you can write. |
| The Export button is disabled | The list has no differences, or you did not click Start. | There is nothing to export. |
Every field and message is in Check File Structure.
Related
This page applies to alameen ERP 10, version 10.1.79.764.