Patch level :4.0 /10.0
Files correlati : Ricompilazione Demo : [ ] Commento :conai in corso d'opera (aggiunto il modulo a campo.aut e modaut.h, aggiunta la insert_rec ai TText_recordset per poter inserire le intestazioni dei file excel) git-svn-id: svn://10.65.10.50/trunk@16219 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
568c67a689
commit
294db713c8
@ -7,7 +7,7 @@ iv Gestione IVA
|
|||||||
se Contabilita' Semplificata
|
se Contabilita' Semplificata
|
||||||
cg Contabilita' Generale
|
cg Contabilita' Generale
|
||||||
ci Contabilita' Industriale
|
ci Contabilita' Industriale
|
||||||
mi Modello IVA 11
|
dc Dichiarazione CONAI
|
||||||
tp Trasferimento Pack
|
tp Trasferimento Pack
|
||||||
ce Cespiti
|
ce Cespiti
|
||||||
rs Report di Stampa
|
rs Report di Stampa
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#define SEAUT 6
|
#define SEAUT 6
|
||||||
#define CGAUT 7
|
#define CGAUT 7
|
||||||
#define CIAUT 8
|
#define CIAUT 8
|
||||||
#define MIAUT 9
|
#define DCAUT 9
|
||||||
#define DTAUT 10
|
#define DTAUT 10
|
||||||
#define CEAUT 11
|
#define CEAUT 11
|
||||||
#define RSAUT 12
|
#define RSAUT 12
|
||||||
|
@ -26,6 +26,18 @@ TRecnotype TText_recordset::new_rec(const char* rec)
|
|||||||
return _curr;
|
return _curr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TRecnotype TText_recordset::insert_rec(TRecnotype r, const char* buf)
|
||||||
|
{
|
||||||
|
TRecnotype pos = new_rec(buf);
|
||||||
|
if ((r >= 0) && (r != pos))
|
||||||
|
{
|
||||||
|
TObject* last = _rec.remove(pos);
|
||||||
|
_rec.insert(last, r);
|
||||||
|
_curr = pos = r;
|
||||||
|
}
|
||||||
|
return pos;
|
||||||
|
}
|
||||||
|
|
||||||
TToken_string& TText_recordset::row(TRecnotype n) const
|
TToken_string& TText_recordset::row(TRecnotype n) const
|
||||||
{
|
{
|
||||||
if (n < 0)
|
if (n < 0)
|
||||||
|
@ -46,6 +46,7 @@ public:
|
|||||||
|
|
||||||
virtual bool destroy(TRecnotype r = -1);
|
virtual bool destroy(TRecnotype r = -1);
|
||||||
virtual TRecnotype new_rec(const char* buf = NULL);
|
virtual TRecnotype new_rec(const char* buf = NULL);
|
||||||
|
virtual TRecnotype insert_rec(TRecnotype r, const char* buf = NULL);
|
||||||
virtual bool set(unsigned int fld, const TVariant& var);
|
virtual bool set(unsigned int fld, const TVariant& var);
|
||||||
virtual bool set(const char* fld, const TVariant& var);
|
virtual bool set(const char* fld, const TVariant& var);
|
||||||
virtual bool exec(const char* query);
|
virtual bool exec(const char* query);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user