Ultimissima cazzatina
git-svn-id: svn://10.65.10.50/trunk@2699 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b7b9d5d29d
commit
364401f662
@ -546,13 +546,16 @@ void TAnaprint_app::set_scheda_socio()
|
|||||||
ana.zero();
|
ana.zero();
|
||||||
ana.put("TIPOA",soc.get("TIPOASOC"));
|
ana.put("TIPOA",soc.get("TIPOASOC"));
|
||||||
ana.put("CODANAGR",soc.get("CODANAGRSO"));
|
ana.put("CODANAGR",soc.get("CODANAGRSO"));
|
||||||
ana.read();
|
|
||||||
|
|
||||||
// always at top level
|
if (ana.read() == NOERR)
|
||||||
TString zio = ana.get("CODANAGR"); zio.insert("Socio ", 0);
|
{
|
||||||
|
|
||||||
|
TString zio("Socio ");
|
||||||
|
zio << soc.get("CODANAGRSO");
|
||||||
|
zio << "("; zio << soc.get("TIPOASOC") << "): ";
|
||||||
|
zio << ana.get("RAGSOC");
|
||||||
_bk_socio = set_bookmark(zio, _bk_ditta);
|
_bk_socio = set_bookmark(zio, _bk_ditta);
|
||||||
|
|
||||||
|
|
||||||
TString codconiuge = "";
|
TString codconiuge = "";
|
||||||
TLocalisamfile* anaf;
|
TLocalisamfile* anaf;
|
||||||
|
|
||||||
@ -587,14 +590,14 @@ void TAnaprint_app::set_scheda_socio()
|
|||||||
|
|
||||||
b1 = anaf->get_date("DATANASC").string(full);
|
b1 = anaf->get_date("DATANASC").string(full);
|
||||||
b2 = anaf->get("SESSO");
|
b2 = anaf->get("SESSO");
|
||||||
/* b3 = anaf->get("STATONASC").empty() ?
|
/* b3 = anaf->get("STATONASC").empty() ?
|
||||||
"Italiana" : anaf->get("STATONASC");
|
"Italiana" : anaf->get("STATONASC");
|
||||||
*/
|
*/
|
||||||
// set_row(4,"Nascita@20gData@30g%S@42gSesso %S@53gCittadinanza %S",
|
// set_row(4,"Nascita@20gData@30g%S@42gSesso %S@53gCittadinanza %S",
|
||||||
set_row(4,"Nascita@20gData@30g%S@42gSesso %S",
|
set_row(4,"Nascita@20gData@30g%S@42gSesso %S",
|
||||||
(const char*)b1,
|
(const char*)b1,
|
||||||
(const char*)b2);
|
(const char*)b2);
|
||||||
// (const char*)b3);
|
// (const char*)b3);
|
||||||
|
|
||||||
b1 = com.get("DENCOM");
|
b1 = com.get("DENCOM");
|
||||||
b2 = com.get("PROVCOM");
|
b2 = com.get("PROVCOM");
|
||||||
@ -675,6 +678,7 @@ void TAnaprint_app::set_scheda_socio()
|
|||||||
FLD(LF_ANAG,"DATAAGG"),
|
FLD(LF_ANAG,"DATAAGG"),
|
||||||
FLD(LF_SOCI,"DATAAGG"));
|
FLD(LF_SOCI,"DATAAGG"));
|
||||||
set_row(rw+13,""); set_row(rw+14,"");
|
set_row(rw+13,""); set_row(rw+14,"");
|
||||||
|
}
|
||||||
|
|
||||||
ana.setkey(k);
|
ana.setkey(k);
|
||||||
ana.readat(rno);
|
ana.readat(rno);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user