Patch level : 2.0 430
Files correlati : ba0.exe ba1.exe ba4.exe batbcam.msk Ricompilazione Demo : [ ] Commento : EP20013 Anagrafiche di base\Ditte il collegamento alla posta non funziona EP20014 Ha senso avere la possibilità di caricare i dati dimostrativi se l'installazione non è CAMPO DEMO? EP20015 Entrando in Anagrafiche di base\Stampa tabelle\Comdizioni di pagamento: il pulsante stampa sostituisce il pulsante conferma EP20016 Lavorando col mouse: Entro in Anagrafiche di base\Persone fisiche, clicco sul bottone posta si apre la finestra di outlook e la chiudo. Clicco sul bottone oggetti esterni e viene visualizzato errore fatale: impossibile leggere il file 'bagn006.msk' clicco su ok e viene visualizzato errore di Microsoft VisulaC++ Run Time Library Runtime Error! ProgramC:\ \ba4.exe abnormal program termination EP20017 Entro in Manutenzione\Archivi e confermo la selezione ditta: nella finestra gestione files un solo clic del mause sulle freccine alle estremità delle barre di scorrimento non fa scorrere la videata. EP20018 Entro in Anagrafiche di base\Persone fisiche vedo solo la pagina 1 fino a che non inserisco il codice nel group box persone fisiche e mi sposto col mouse su di un altro campo. EP20019 Entro in Anagrafiche di base\Persone fisiche clicco sul bottone ricerca e seleziono un'anagrafica già inserita.Compaiono tutte le pagine ed i campi vengono compilati.Clicco sul bottone Annulla: non vedo più le pagine successive alla 1 e i campi di quest'ultima non vengono svuotati EP20020 Lavorando col mouse: Etro in Anagrafiche di base\Ditte: a pagina uno mi sposto sul campo "codice" del group box "anagrafica" entro nella tabella anagrafica persone fisiche e giuridiche associata al campo e clicco sul bottone "nuovo" ( o sul bottone "collega") errore fatale: impossibile Impossibile ridimensionare una stringa fissa da 16 a 75 caratteri:'1|' clicco su ok e viene visualizzato errore di Microsoft VisulaC++ Run Time Library Runtime Error! ProgramC:\ \ba4.exe abnormal program termination EP20021 Entro in Anagrafiche di base\Persone fisiche clicco sul bottone ricerca e seleziono un'anagrafica già inserita.Compaiono tutte le pagine ed i campi vengono compilati.Clicco sul bottone Elimina e confermo l'eliminazione: non vedo più le pagine successive alla 1, i campi di quest'ultima non vengono svuotati anche se cliccando sul bottone ricerca verifico che l'anagrafica è stata eliminata. EP20022 Entro in Anagrafiche di base\Tabelle ministeriali\Regioni clicco sul bottone ricerca e seleziono un comune inserito.I campi vengono compilati.Clicco sul bottone Annulla: i campi non vengono svuotati.Clicco sul bottone Nuovo visualizza messaggio "attenzione elemento già presente". EP20023 Entrando in Amministrazione\Contabilità generale\stampa tabelle studio\Codici attività il pulsante stampa sostituisce il pulsante conferma. vedi errore EP20015 EP20024 Amministrazione\Contabilità generale\Scelta contabilità\registri: richiamo uno dei registri e clicco su configurazione stampante metto spunta su visualizzazione e registro.Clicco su configurazione stampante, la spunta è tornata su stampante. git-svn-id: svn://10.65.10.50/trunk@10937 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f9260ba988
commit
6343b36040
@ -612,8 +612,9 @@ void TMenu_application::test_temp()
|
||||
TProgind bar(count, TR("Cancellazione file temporanei"), TRUE, TRUE);
|
||||
for (int i = count-1; i >= 0; i--)
|
||||
{
|
||||
if (bar.iscancelled()) break;
|
||||
bar.addstatus(1);
|
||||
if (bar.iscancelled())
|
||||
break;
|
||||
const char* e = files.row(i);
|
||||
::remove(e);
|
||||
}
|
||||
|
128
ba/ba1200.cpp
128
ba/ba1200.cpp
@ -1,6 +1,6 @@
|
||||
#include <applicat.h>
|
||||
#include <isam.h>
|
||||
#include <progind.h>
|
||||
#include <relation.h>
|
||||
#include <urldefid.h>
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
@ -9,38 +9,134 @@
|
||||
|
||||
class TTest_application : public TSkeleton_application
|
||||
{
|
||||
|
||||
protected:
|
||||
void test1();
|
||||
void test2();
|
||||
void test3();
|
||||
|
||||
clock_t start_timer() const;
|
||||
|
||||
public:
|
||||
virtual void main_loop();
|
||||
};
|
||||
|
||||
void TTest_application::main_loop()
|
||||
clock_t TTest_application::start_timer() const
|
||||
{
|
||||
clock_t t, s = clock();
|
||||
do
|
||||
t = clock();
|
||||
while (t == s);
|
||||
return t;
|
||||
}
|
||||
|
||||
void TTest_application::test1()
|
||||
{
|
||||
TLocalisamfile tab(LF_COMUNI);
|
||||
const TRecnotype n = tab.items();
|
||||
|
||||
clock_t start;
|
||||
TRecnotype r = 1;
|
||||
TRecnotype r = 0;
|
||||
TString80 msg;
|
||||
{
|
||||
TProgind p(n, TR("Lettura file comuni"), TRUE, TRUE);
|
||||
start = clock();
|
||||
for (tab.first(); tab.good(); tab.next(), r++)
|
||||
{
|
||||
if ((r % 100) == 0)
|
||||
{
|
||||
msg.format("%ld records %ld msec", r, clock() - start);
|
||||
p.setstatus(r);
|
||||
p.set_text(msg);
|
||||
if (p.iscancelled()) break;
|
||||
}
|
||||
}
|
||||
const int times = 10;
|
||||
TProgind p(times, TR("Lettura file comuni"), TRUE, TRUE);
|
||||
start = start_timer();
|
||||
for (int i = 0; i < times; i++)
|
||||
{
|
||||
for (tab.first(); tab.good(); tab.next())
|
||||
r++;
|
||||
|
||||
msg.format("%ld records %ld msec", r, clock() - start);
|
||||
p.addstatus(1);
|
||||
p.set_text(msg);
|
||||
if (p.iscancelled())
|
||||
break;
|
||||
}
|
||||
}
|
||||
const clock_t t = clock() - start;
|
||||
msg.format("%ld records in %ld msec\n%lg records per sec", r, t, 1000.0*r/t);
|
||||
message_box(msg);
|
||||
}
|
||||
|
||||
void TTest_application::test2()
|
||||
{
|
||||
TRelation rel(LF_COMUNI);
|
||||
TCursor tab(&rel);
|
||||
|
||||
const TRecnotype n = tab.items();
|
||||
|
||||
tab.freeze();
|
||||
|
||||
clock_t start;
|
||||
TRecnotype r = 0;
|
||||
TString80 msg;
|
||||
{
|
||||
const int times = 10;
|
||||
TProgind p(times, TR("Lettura cursore comuni"), TRUE, TRUE);
|
||||
start = start_timer();
|
||||
for (int i = 0; i < times; i++)
|
||||
{
|
||||
for (tab = 0; tab.pos() < n; ++tab)
|
||||
r++;
|
||||
|
||||
msg.format("%ld records %ld msec", r, clock() - start);
|
||||
p.addstatus(1);
|
||||
p.set_text(msg);
|
||||
if (p.iscancelled())
|
||||
break;
|
||||
}
|
||||
}
|
||||
const clock_t t = clock() - start;
|
||||
msg.format("%ld records in %ld msec\n%lg records per sec\n",
|
||||
r, t, 1000.0*r/t);
|
||||
message_box(msg);
|
||||
}
|
||||
|
||||
void TTest_application::test3()
|
||||
{
|
||||
TRelation rel(LF_COMUNI);
|
||||
TSorted_cursor tab(&rel, "CAPCOM");
|
||||
|
||||
clock_t istart = start_timer();
|
||||
const TRecnotype n = tab.items();
|
||||
clock_t istop = clock() - istart;
|
||||
|
||||
tab.freeze();
|
||||
|
||||
clock_t start;
|
||||
TRecnotype r = 0;
|
||||
TString256 msg;
|
||||
{
|
||||
const int times = 10;
|
||||
TProgind p(times, TR("Lettura cursore C.A.P."), TRUE, TRUE);
|
||||
start = start_timer();
|
||||
for (int i = 0; i < times; i++)
|
||||
{
|
||||
for (tab = 0; tab.pos() < n; ++tab)
|
||||
r++;
|
||||
|
||||
msg.format("%ld records %ld msec", r, clock() - start);
|
||||
p.addstatus(1);
|
||||
p.set_text(msg);
|
||||
if (p.iscancelled())
|
||||
break;
|
||||
}
|
||||
}
|
||||
const clock_t t = clock() - start;
|
||||
msg.format("%ld records in %ld msec\n%lg records per sec\n"
|
||||
"%ld msec for initialization",
|
||||
r, t, 1000.0*r/t, istop);
|
||||
message_box(msg);
|
||||
}
|
||||
|
||||
|
||||
void TTest_application::main_loop()
|
||||
{
|
||||
test1();
|
||||
test2();
|
||||
test3();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
@ -1425,7 +1425,6 @@ bool TAttivazione_moduli::create()
|
||||
_im = new TInformazione_moduli;
|
||||
|
||||
disable_menu_item(M_FILE_NEW);
|
||||
disable_menu_item(M_FILE_REVERT);
|
||||
disable_menu_item(M_FILE_PG_SETUP);
|
||||
|
||||
_msk = new TMask("ba1500a") ;
|
||||
|
@ -507,14 +507,6 @@ bool TPersone_app::user_create()
|
||||
_rel[MSKG] = new TRelation(LF_ANAG);
|
||||
_rel[MSKG]->add(LF_ANAGGIU, "CODANAGR=CODANAGR", 1);
|
||||
|
||||
if (argc() > 3)
|
||||
{
|
||||
get_mask(MODE_QUERY);
|
||||
TString16 s("1|");
|
||||
|
||||
s << argv(3);
|
||||
set_link(*_msk[tip_msk()], s);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -49,8 +49,8 @@ const char* COMTRIB = "COMTRIB";
|
||||
|
||||
#define TABATT "%ais"
|
||||
#define CODTAB "CODTAB"
|
||||
#define S0 "S0"
|
||||
#define DESCR "DESCR"
|
||||
#define S0 "S0"
|
||||
#define DESCR "DESCR"
|
||||
|
||||
class TDitte_application : public TRelation_application
|
||||
{
|
||||
@ -181,7 +181,6 @@ bool TDitte_application::email_handler(TMask_field& f, KEY k)
|
||||
|
||||
bool TDitte_application::user_create() // initvar e arrmask
|
||||
{
|
||||
|
||||
open_files(LF_NDITTE, LF_ANAG, LF_UNLOC, LF_ATTIV, LF_TABCOM, 0);
|
||||
_rel = new TRelation(LF_NDITTE);
|
||||
|
||||
@ -189,6 +188,8 @@ bool TDitte_application::user_create() // initvar e arrmask
|
||||
|
||||
_msk = new TMask("ba4300a") ;
|
||||
_msk->set_handler(ba4300_handler);
|
||||
_msk->set_handler(DLG_EMAIL, email_handler);
|
||||
|
||||
set_search_field(FLD_GD1_CODDITTA);
|
||||
|
||||
return TRUE;
|
||||
@ -266,12 +267,9 @@ int TDitte_application::write(const TMask& m)
|
||||
anag.zero() ;
|
||||
anag.put(TIPOA, ditte.get(TIPOA));
|
||||
anag.put(CODANAGR, ditte.get(CODANAGR));
|
||||
// anag.read();
|
||||
if (anag.read() == NOERR)
|
||||
{
|
||||
TLocalisamfile unloc(LF_UNLOC);
|
||||
|
||||
unloc.zero() ;
|
||||
unloc.put(CODDITTA, ditte.get(CODDITTA)) ;
|
||||
unloc.put(CODULC, 1);
|
||||
unloc.put(COMULC, anag.get(COMRES));
|
||||
|
@ -29,7 +29,6 @@ BEGIN
|
||||
OUTPUT FLD_TABCAM_I2 I2
|
||||
OUTPUT FLD_TABCAM_B1 B1
|
||||
CHECKTYPE FORCED
|
||||
// MESSAGE COPY,FLD_CODVAL_COPY
|
||||
WARNING "Valuta assente"
|
||||
END
|
||||
|
||||
@ -106,7 +105,6 @@ END
|
||||
BOOLEAN FLD_TABCAM_B1
|
||||
BEGIN
|
||||
PROMPT 50 10 "Contro EURO"
|
||||
FIELD B1
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user