Patch level : 12.0 1101
Files correlati : ca3.exe ca3100.uml ca3100a.rep ca3100b.rep ca3200.uml ca3200a.rep ca3200b.rep ca3300.uml ca3300a.rep ca3300b.rep ca3300c.rep ca3300d.rep ca3600.uml ca3600a.rep ca3700.uml ca3700a.rep ca3700b.rep ca3800.uml ca3800a.rep ca3800as.rep ca3800b.rep ca3800bs.rep ca3800c.rep ca3800cs.rep ca3883.cpp ca3900.uml ca3900a.rep Commento : modificato il meccanismo per lanciare le stampe in batch. Sintassi: ca3 -7 -b <nome del file che contiene i valori dell maschera> (-T) <tipo di output <P>rint|<E>xport|E<X>cel|PD<F>|<T>esto|<D>Base|<V>isualizza> (-O) <nome del file di output (-F) <codice ditta> (-S) <separatore per excel) Esempio: ca3 -7 -b select.sav X c:\out\rend esporta il rendiconto di commessa usando i parametri salvati in select.sav nel file c:\out\rend.xls
This commit is contained in:
parent
bc402cf8a6
commit
63c8360a15
@ -119,11 +119,12 @@ void TReport_application::main_loop()
|
||||
|
||||
if (fname.exist())
|
||||
{
|
||||
m.load(fname, true);
|
||||
|
||||
TReport & rep = get_report(m);
|
||||
TReport_book b(title());
|
||||
export_type type = _export_printer;
|
||||
|
||||
m.load(fname, true);
|
||||
while ((arg_type = get_arg(narg, arg)) != '\0')
|
||||
{
|
||||
switch (arg_type)
|
||||
|
@ -2044,7 +2044,11 @@ bool TBook::export_excel(TFilename& fname, bool signature, bool goto_url, bool a
|
||||
}
|
||||
reformat_excel(str);
|
||||
if (str.find(sep) >= 0)
|
||||
str <<'"' << str << '"';
|
||||
{
|
||||
const TString s = str;
|
||||
|
||||
str << '"' << s << '"';
|
||||
}
|
||||
line->add(str, idx);// come mai ?? pos);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user