This is the TGL repair menu, this should be used if problems such as power
fail, or a reboot have occured while running TGL or the trial balance
doesn't. It is intended that each option is used in order from "A" to "D".

REINDEX ALL DATABASES, this reindexes all the databases used by TGL.

CHECK TRANSACTIONS FILE, The TGL ledger is a full double entry booking
keeping ledger, but it can be corrupted if a powerfail occurs during batch
closing. If the trial balance shows a mismatch, Then first reindex using
option "A" then use this option to check the transctions file for damage,
if any is found the FIX TRANSACTIONS FILE option can be used to fix it.

NOTE the fix transactions option can only be used to fix a damaged
transaction batch, it cannot be used to fiddle a transaction.

REBUILD ACCOUNT BALANCES, rebuilds the balances held in the accounts from
the records in the transactions file, This should be used after any
transactions have been fixed or if the trial balance is out but no damage
has been found in the transactions file.
