Patch level : 12.00 1322
Files correlati : 777.exe tp*.exe Commento : Diano CU
This commit is contained in:
parent
f021dc69c2
commit
96adac3e57
@ -2265,6 +2265,7 @@ bool TReport::evaluate(const char* expr, TVariant& var, TFieldtypes force_type)
|
||||
if (e.numvar() == 1)
|
||||
{
|
||||
const TFixed_string name(e.varname(0));
|
||||
|
||||
if (name == expr)
|
||||
{
|
||||
if (get_usr_val(name, var))
|
||||
@ -2409,6 +2410,18 @@ bool TReport::load(const char* fname)
|
||||
return ok;
|
||||
}
|
||||
|
||||
void TReport::show_all_sections()
|
||||
{
|
||||
FOR_EACH_ASSOC_OBJECT(_sections, os, sec_key, sec_item)
|
||||
{
|
||||
TReport_section * sect = (TReport_section *)sec_item;
|
||||
const bool section_shown = sect->shown();
|
||||
|
||||
if (section_shown)
|
||||
_default_shown_sections.add(sec_key);
|
||||
}
|
||||
}
|
||||
|
||||
bool TReport::save(const char* fname) const
|
||||
{
|
||||
char name[_MAX_FNAME];
|
||||
|
Loading…
x
Reference in New Issue
Block a user