Corretta get_mask_name

git-svn-id: svn://10.65.10.50/trunk@5129 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1997-08-29 10:32:49 +00:00
parent bb1701e7d7
commit f276003c98

View File

@ -60,15 +60,15 @@ bool Tab_application::protected_record(TRectype& rec)
TString& Tab_application::get_mask_name(TString& t) const
{
CHECK(_rel,"Can't use a NULL relation to retrieve table module");
t = _tabname;
TTable& tab = (TTable&) _rel->lfile(_tabname);
TString16 m = _tabname;
if (m[0] == '%') m.ltrim(1);
if (t[0] == '%') t.ltrim(1);
TString16 m;
m << tab.module();
m << "tb" << t;
t = m;
return m.upper();
t = tab.module();
t << "tb" << m;
t.upper();
return t;
}
TMask* Tab_application::set_mask(TMask* m)