From 4de8ae7cd6a5b53b5968295ec3765d4f65e2d798 Mon Sep 17 00:00:00 2001 From: angelo Date: Wed, 13 Mar 1996 16:02:40 +0000 Subject: [PATCH] Correzione errore MI3320. Cambiato l'ordinamento di stampa secondo la chiave DATAREG+PROTIVA+NUMREG; la modifica e' stata resa possibile grazie ai TSorted_cursor. Modifica riportata anche sulla versione clienti (R95501). git-svn-id: svn://10.65.10.50/trunk@2678 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg4400.cpp | 2 +- cg/cg4400.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cg/cg4400.cpp b/cg/cg4400.cpp index dedf2ee06..4aa5bd54d 100755 --- a/cg/cg4400.cpp +++ b/cg/cg4400.cpp @@ -1058,7 +1058,7 @@ bool CG4400_application::user_create() _rel->add(LF_CAUSALI,"CODCAUS=CODCAUS",1,LF_MOV); _rel->add(LF_RMOVIVA,"NUMREG=NUMREG",1,LF_MOV); - _cur = new TCursor(_rel, "", 2); + _cur = new TSorted_cursor(_rel, "DATAREG|PROTIVA|NUMREG","", 2); _ditte = new TArray_sheet(-1, -1, 0, 0, "Selezione Ditte", "@1|Cod.@5R|Ragione Sociale@50|Vers."); diff --git a/cg/cg4400.h b/cg/cg4400.h index c70d47e9e..bd76033e9 100755 --- a/cg/cg4400.h +++ b/cg/cg4400.h @@ -37,7 +37,7 @@ enum messaggio { class CG4400_application : public TPrintapp { - TCursor * _cur; + TSorted_cursor * _cur; TRelation *_rel, *_nditte; TLocalisamfile *_clifo, *_occas, *_tab, *_tabcom, *_com, *_anag, *_unloc, *_attiv, *_indlib; TTable *_tabreg, *_tablbu, *_tablim, *_tabpim, *_tablia, *_tabiva;