Patch level :4.0 734
Files correlati : Ricompilazione Demo : [ ] Commento :sistemate virgolette nella query git-svn-id: svn://10.65.10.50/trunk@15450 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
53ad2d1861
commit
8208cb6728
@ -15,12 +15,13 @@ const TString& root_code()
|
||||
static TString4 _root_code;
|
||||
if (_root_code.empty())
|
||||
{
|
||||
const TString query = "USE FSA SELECT B0='X'";
|
||||
const TString query = "USE FSA SELECT B0=\"X\"";
|
||||
TISAM_recordset set(query);
|
||||
if (set.move_first())
|
||||
_root_code = set.get("CODTAB").as_string();
|
||||
else
|
||||
_root_code = " "; // Evito riletture inutili
|
||||
|
||||
}
|
||||
return _root_code;
|
||||
}
|
||||
@ -142,7 +143,7 @@ bool advanced_get_codart(TString& code, TString& desc)
|
||||
code << m.get(id);
|
||||
if (id == 102)
|
||||
desc << ' ';
|
||||
desc << m.get(di+100);
|
||||
desc << m.get(id+100);
|
||||
}
|
||||
}
|
||||
return ok;
|
||||
|
Loading…
x
Reference in New Issue
Block a user