Patch level : 10.0

Files correlati     : tp0
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/branches/R_10_00@22578 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2012-02-14 12:30:06 +00:00
parent 2ebade62ca
commit 0023c036b2
3 changed files with 8 additions and 6 deletions

View File

@ -53,8 +53,8 @@ TPack_iterator& TPack_iterator::operator++()
TPack_iterator::TPack_iterator(TPack_transfer* pt) : _pt(pt), _pi(NULL)
{
const TRecnotype tot = _pt->recordset().items();
TString title;
title << _pt->title() << ": " << tot << ' ' << TR("righe");
TString title; title << _pt->title() << ": " << tot << ' ' << TR("righe");
if (tot > 1)
_pi = new TProgind(tot, title, true, true);
else
@ -62,7 +62,7 @@ TPack_iterator::TPack_iterator(TPack_transfer* pt) : _pt(pt), _pi(NULL)
if (tot > 0)
_pt->log(title);
_rec = -1;
}

View File

@ -70,7 +70,7 @@ BEGIN
PROMPT 1 1 "@bDatabase"
END
STRING F_DSN 30
STRING F_DSN 128 50
BEGIN
PROMPT 2 2 "DSN "
CHECKTYPE REQUIRED

View File

@ -325,6 +325,8 @@ bool TPack_clifo::trasferisci()
else
query << "(FlagCustSupp='C' OR FlagCustSupp='S')";
TRecordset& recset = create_recordset(query);
if (recset.items() == 0)
return false;
TString str;
@ -470,10 +472,10 @@ bool TPack_clifo::trasferisci()
field.format("MonthNewEffect%02d", p);
const int month_new = get_long(field);
field.format("%d-%d,%d-%d", day_from, month_from, day_to, month_to);
field.format("%02d-%02d,%02d-%02d", day_from, month_from, day_to, month_to);
nonacceff.add(field);
field.format("%d-%d", day_new, month_new);
field.format("%02d-%02d", day_new, month_new);
nonscadeff.add(field);
}
if (nonacceff.full())