if (!check_table($pref, 'suppliers', 'credit_limit')) $n--;
if (!check_table($pref, 'bank_trans', 'reconciled',
array('Type'=>'date'))) $n--;
if (!check_table($pref, 'suppliers', 'credit_limit')) $n--;
if (!check_table($pref, 'bank_trans', 'reconciled',
array('Type'=>'date'))) $n--;