File Maintenance Functions

Top  Previous Topic  Next Topic

 

Five tasks can be accomplished in File Maintenance Functions: 1) Re-index AnyOrder's Database Files, 2) Clean and Compact Files, 3) Delete Invoices, 4) Remove Row Locks, and 5) Delete Duplicates.  It reached by selecting FILE and FILE MAINTENANCE FUNCTIONS.

Re-index Database Files

AnyOrder uses a type of database file called an index file.  Index files provide rapid access to information in your main data files.  Re-indexing these files may help clear up the following problems:  1)The program seems to slowing significantly; 2) Some of the products are not appearing in the Item Area of the Invoice Screen; 3) Some the Billing Names and Addresses are not lining up properly in their blanks.

When you select re-index, a dialog box will appear which explains the process.  When you are ready, press OK.  Once the files are re-indexed, the program will re-start.

Clean and Compact Files

This process copies each of AnyOrder's data files to a temporary file and then back to its original format.  This process can sometimes clear up nagging file problems.

It will also compact bloated files.  Under certain circumstances, frequently used database files can pick up extra space here and there.  In extremely rate situations, the file can grow larger than its normal size.  This is known as file bloat.  If the processes within AnyOrder seem to be slowing down, it may be due to file bloat. This procedure will compact bloated files, returning them to their normal size.

Before running this procedure you should back-up your files.

Delete Invoices

This process can be used to delete invoices.  Normally, you shouldn't delete invoices.  When an invoice is deleted it creates a gap in invoice numbers and that goes against good accounting practices.  An acceptable way of eliminating an invoice is to void it.  You may also reduce the number of invoices in your main file by moving some to storage.  This can be done after you have accumulated invoices for two or more years.

In rare situations, you may find that you have no other option than deleting one or more invoices.  The most likely reason to resort to deleting invoices may be because of an import problem.  Import provides you with a way of undoing the process, but if you accidentally exit from the program or turn the computer off, you may be left with garbled and unwanted invoices.  This process will allow you to remove such invoices.

Use this with great caution.  If you're not careful, you may end up deleting good invoices.  Make sure you know exactly which invoices should be deleted before using it.

This will remove invoices at end of your file.  (Use the storage method to remove invoices from the beginning of the file).  In the blank on the bottom of the dialog box, indicate the invoice number where you want the deletion to begin.  All invoices from that point to the end of the invoice file will be deleted.

Remove Row Locks

Once in a while you may receive the message: "Retrying Row Locks" or a similar message.  This is normal.  AnyOrder occasionally locks records when two competing process try to change a record at the same time.  This feature helps protect your data.  Usually you can exit from the message and continue work without further interruptions.  However, if while working, you encounter a number of these messages one after another, you may want to have AnyOrder run through the key database files and clear out any record locks that may have been set.  To do so, select this option.

Delete Duplicates

If a miscommunication occurs between two computers in a networking environment, you may end up with two invoices with the same invoice number.  In order for the program to function properly--and for your business records to conform to good accounting practices--every invoice must have a unique numfber.  If for some reason you do end up with two invoices with the same number, you should delete one of the invoices.  This function allows you to do that.

If you notice a duplicate invoice number, it's important that you run through the following process as soon as possible.

The invoice which will be deleted is the most recent one.  In other words, if you are paging back through the invoices from newest to oldest, the first one that you reach will be the one deleted.  In some cases, you may want to simply delete the invoice.  If it's an invoice that you need to keep, however, you'll need to re-issue it as a new invoice.  An easy way to do this is to make sure that the invoice which will be deleted is showing on the screen and then select GO TO and NEW INVOICE and COPY ALL.  A new invoice will be created with all of the same information.

To do the deletion, select FILE MAINTENANCE FUNCTIONS AND DELETE DUPLICATES.  Enter the duplicate invoice number in the blank.  Click OK.  The most recent of the duplicate pair will be deleted.

There's one last thing that you'll need to do after the deletion.  Go to the remaining member of the duplicate pair.  Look at the Item Area.  Make sure that the products listed go along with that invoice.  Whenever there is a duplicate invoice number, each invoice picks up the other's product list.  If after examining the Item Area, you find products that don't belong on the invoice, you'll need to delete them.  To do so, place your cursor on a product in the Item Area that should be deleted and press CTRL+D on the keyboard.  The row will be deleted.  Keep deleting extra products until the invoice has the correct list of products.

Packing Process.

Each time AnyOrder shuts down, it automatically runs a Packing and Indexing process.  This process keeps the size of your files trimmed down by removing any records which the program has deleted.  However, if you have particularly large data files -- particularly large data files on a networked system -- you can turn it off.  The place to turn it off is FILE >> BASIC PROGRAM SET-UP and click on the "Networking / Currency" tab.  If you turn it off, you'll need run the process manually every so often.  This is the function to use to manually run the packing process.  Note that on network systems, it is suggested that you do this on the server.