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:
parent
2ebade62ca
commit
0023c036b2
@ -53,8 +53,8 @@ TPack_iterator& TPack_iterator::operator++()
|
|||||||
TPack_iterator::TPack_iterator(TPack_transfer* pt) : _pt(pt), _pi(NULL)
|
TPack_iterator::TPack_iterator(TPack_transfer* pt) : _pt(pt), _pi(NULL)
|
||||||
{
|
{
|
||||||
const TRecnotype tot = _pt->recordset().items();
|
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)
|
if (tot > 1)
|
||||||
_pi = new TProgind(tot, title, true, true);
|
_pi = new TProgind(tot, title, true, true);
|
||||||
else
|
else
|
||||||
|
@ -70,7 +70,7 @@ BEGIN
|
|||||||
PROMPT 1 1 "@bDatabase"
|
PROMPT 1 1 "@bDatabase"
|
||||||
END
|
END
|
||||||
|
|
||||||
STRING F_DSN 30
|
STRING F_DSN 128 50
|
||||||
BEGIN
|
BEGIN
|
||||||
PROMPT 2 2 "DSN "
|
PROMPT 2 2 "DSN "
|
||||||
CHECKTYPE REQUIRED
|
CHECKTYPE REQUIRED
|
||||||
|
@ -325,6 +325,8 @@ bool TPack_clifo::trasferisci()
|
|||||||
else
|
else
|
||||||
query << "(FlagCustSupp='C' OR FlagCustSupp='S')";
|
query << "(FlagCustSupp='C' OR FlagCustSupp='S')";
|
||||||
TRecordset& recset = create_recordset(query);
|
TRecordset& recset = create_recordset(query);
|
||||||
|
if (recset.items() == 0)
|
||||||
|
return false;
|
||||||
|
|
||||||
TString str;
|
TString str;
|
||||||
|
|
||||||
@ -470,10 +472,10 @@ bool TPack_clifo::trasferisci()
|
|||||||
field.format("MonthNewEffect%02d", p);
|
field.format("MonthNewEffect%02d", p);
|
||||||
const int month_new = get_long(field);
|
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);
|
nonacceff.add(field);
|
||||||
|
|
||||||
field.format("%d-%d", day_new, month_new);
|
field.format("%02d-%02d", day_new, month_new);
|
||||||
nonscadeff.add(field);
|
nonscadeff.add(field);
|
||||||
}
|
}
|
||||||
if (nonacceff.full())
|
if (nonacceff.full())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user