From 7e4de6d31b0391da996568edd14245da16102d5a Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Mon, 14 Oct 2024 21:57:02 +0200 Subject: [PATCH] Patch level : 12.00 1362 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Files correlati : ba1.exe ba1800a.msk Commento: Aggiunta la possibilità di aggiornare campi al programma di importazione file di testo --- src/include/filetext.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/filetext.h b/src/include/filetext.h index 8cec2959b..39dafc5e1 100755 --- a/src/include/filetext.h +++ b/src/include/filetext.h @@ -102,7 +102,9 @@ public: void set_relation(TRelation * rel) ; void add(const TTracciato_campo& tc, int pos = -1);//aggiunge tracciato campo all'array void add(TTracciato_campo* tc, int pos = -1);//aggiunge tracciato campo all'array - TTracciato_campo& get(int n);//ritorna il tracciato campo n dell'array (se non c'e' lo crea) + TTracciato_campo& get(int n);//ritorna il tracciato campo n dell'array (se non c'e' lo crea) + // ritorna il numero di campi + const int nfields() const { return _tracciati_campo.items(); } //ritorna il tracciato campo n dell'array const TTracciato_campo& get(int n) const {return (TTracciato_campo&)_tracciati_campo[n];} int get_pos(const char* name) const;