Patch level : 10.0 570
Files correlati : kv2.exe l Ricompilazione Demo : [ ] Commento : Corretto calcolo degli estremi per la stampa bolle git-svn-id: svn://10.65.10.50/trunk@19855 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1730eac246
commit
3973958c8f
@ -314,12 +314,19 @@ bool TConta_pulito_msk::on_field_event(TOperable_field& f,TField_event e,long jo
|
||||
const TString4 codnum = kd.codnum();
|
||||
const int anno = kd.anno();
|
||||
const char provv = kd.provv();
|
||||
long andoc = 0;
|
||||
long dandoc = 999999L;
|
||||
|
||||
FOR_EACH_ASSOC_OBJECT(documenti, obj, key, itm) \
|
||||
{
|
||||
TDoc_key& dk = *(TDoc_key*)itm;
|
||||
const long ndoc = dk.ndoc();
|
||||
|
||||
TDoc_key& dk1 = *(TDoc_key*)documenti.first_item();
|
||||
const int dandoc = dk1.ndoc();
|
||||
|
||||
TDoc_key& dk2 = *(TDoc_key*)documenti.last_item();
|
||||
const int andoc = dk2.ndoc();
|
||||
if (ndoc < dandoc)
|
||||
dandoc = ndoc;
|
||||
if (ndoc > andoc)
|
||||
andoc = ndoc;
|
||||
}
|
||||
|
||||
//lancia la stampa dei documenti ve1 -2 da documento a documento
|
||||
TString80 str;
|
||||
|
Loading…
x
Reference in New Issue
Block a user