Patch level : 20.424
Files correlati : Ricompilazione Demo : [ ] Commento : COrretta l'inizializzazione delle TConfig_application git-svn-id: svn://10.65.10.50/trunk@10912 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a25a076411
commit
179f2e6237
@ -24,15 +24,11 @@ bool TAgg_tconto::user_create()
|
||||
{
|
||||
_rel = new TRelation(LF_MOV);
|
||||
_rel->add(LF_RMOVIVA, "NUMREG=NUMREG",1);
|
||||
_cur = new TCursor(_rel, "", 1);
|
||||
add_cursor(_cur);
|
||||
add_cursor(new TCursor(_rel,"",1));
|
||||
|
||||
add_file (LF_MOV);
|
||||
add_file (LF_RMOVIVA);
|
||||
|
||||
_pcon = new TLocalisamfile(LF_PCON);
|
||||
_nditte = new TLocalisamfile(LF_NDITTE);
|
||||
_tabreg = new TTable("REG");
|
||||
open_files(LF_PCON, LF_NDITTE, LF_TAB, 0);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
@ -40,10 +36,6 @@ bool TAgg_tconto::user_create()
|
||||
bool TAgg_tconto::user_destroy()
|
||||
{
|
||||
delete _rel;
|
||||
delete _cur;
|
||||
delete _pcon;
|
||||
delete _nditte;
|
||||
delete _tabreg;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -8,10 +8,7 @@
|
||||
|
||||
class TAgg_tconto : public TPrintapp
|
||||
{
|
||||
TLocalisamfile* _pcon,* _nditte;
|
||||
TTable* _tabreg;
|
||||
TRelation* _rel;
|
||||
TCursor* _cur;
|
||||
|
||||
public:
|
||||
virtual bool user_create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user