Compare two files
This comparison shows what differs in the database structure of two files: tables, fields, triggers and indexes. It changes nothing in either file and does not compare your data. This page explains how to run it, and Compare Files explains each section of the report.
Before you begin
- Open the file you want to compare. The Compare Files button shows when a file is open and the key includes the feature of this tool.
- The other file must be on the same SQL Server and must be an alameen file that has an accounting period.
- You need the Compare Files permission on the Operations page of Users Management. If you want to print, you need the print permission.
- You do not need a backup, because the comparison changes nothing.
Steps
-
Click File, then Tools, then Compare Files.
-
In the Select file to compare with list, choose the other file. The files show by their descriptive names.
-
Click Preview. The program shows the report on the screen. Click Print instead if you want to print it.
-
Read the report: the first column is for the current file and the second for the compared file, and the words "Not found" are on the side that lacks the item. Start with the Different Tables section, then Missing Fields.
-
Close the report, then click Cancel to close the window, or choose another file and repeat step 3.
Result
The report shows the differences only and modifies nothing. It has seven possible sections, and a section with no difference is not written. The versions of the two files are in the header of the two columns: "Current Files (database version) …" and "Compared Files (database version) …". Compare Files explains the meaning of each section.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| There is no difference between the databases | The structure of the two files is identical. | Nothing. No preview shows. |
| You don't have the authority to print | You clicked Print and you lack the print permission. | Use Preview, or ask for the permission. |
| Error In Stored Proc: ... | The comparison failed in SQL Server. | Check that the other file is available on the server and try again. |
If you do not find the Compare Files button, the key does not include the feature of this tool, or no file is open.
Related
This page applies to alameen ERP 10, version 10.1.79.764.