Corretta get_mask_name
git-svn-id: svn://10.65.10.50/trunk@5129 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
bb1701e7d7
commit
f276003c98
@ -60,15 +60,15 @@ bool Tab_application::protected_record(TRectype& rec)
|
|||||||
TString& Tab_application::get_mask_name(TString& t) const
|
TString& Tab_application::get_mask_name(TString& t) const
|
||||||
{
|
{
|
||||||
CHECK(_rel,"Can't use a NULL relation to retrieve table module");
|
CHECK(_rel,"Can't use a NULL relation to retrieve table module");
|
||||||
t = _tabname;
|
|
||||||
TTable& tab = (TTable&) _rel->lfile(_tabname);
|
TTable& tab = (TTable&) _rel->lfile(_tabname);
|
||||||
|
|
||||||
|
TString16 m = _tabname;
|
||||||
|
if (m[0] == '%') m.ltrim(1);
|
||||||
|
|
||||||
if (t[0] == '%') t.ltrim(1);
|
t = tab.module();
|
||||||
TString16 m;
|
t << "tb" << m;
|
||||||
m << tab.module();
|
t.upper();
|
||||||
m << "tb" << t;
|
return t;
|
||||||
t = m;
|
|
||||||
return m.upper();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TMask* Tab_application::set_mask(TMask* m)
|
TMask* Tab_application::set_mask(TMask* m)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user