Patch level : 2.1 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento : Corretta conversione da nome tabella a numero logico git-svn-id: svn://10.65.10.50/trunk@12168 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1f95d09817
commit
099dad0277
@ -322,8 +322,9 @@ int TTable_names::logic_num(const TString& name)
|
||||
TString* str = (TString*)_names.objptr(name);
|
||||
if (str == NULL)
|
||||
{
|
||||
const TString16 savename = name; // Preserve temporary!
|
||||
fill();
|
||||
str = (TString*)_names.objptr(name);
|
||||
str = (TString*)_names.objptr(savename);
|
||||
}
|
||||
|
||||
if (str == NULL && name.len() == 3)
|
||||
@ -1887,7 +1888,8 @@ const TVariant& TISAM_recordset::get(const char* name) const
|
||||
const char* field = name;
|
||||
if (table_end > 0)
|
||||
{
|
||||
logic = table2logic(fldname.left(table_end));
|
||||
const TString& table = fldname.left(table_end);
|
||||
logic = table2logic(table);
|
||||
field += field_start;
|
||||
}
|
||||
return get(logic, field);
|
||||
|
@ -769,6 +769,9 @@ bool TBook::print_page(TWindow& win, size_t page)
|
||||
_rect.set(-1,-1,0,0); // Reset frame
|
||||
RCT rct = { 0,0,0,0 };
|
||||
|
||||
_horizontal_alignment = 'L'; // Reset text alignment
|
||||
_vertical_alignment = 'T';
|
||||
|
||||
while (!ifs.eof())
|
||||
{
|
||||
ifs.getline(buffer, str.size());
|
||||
|
Loading…
x
Reference in New Issue
Block a user