Patch level : 12.0 1086

Files correlati     : ba8.exe
Commento        :

Aggiunto prescript ai campi immagine
This commit is contained in:
Alessandro Bonazzi 2021-10-08 22:37:24 +02:00
parent 838fb1a61b
commit 846719bc80
2 changed files with 7 additions and 1 deletions

View File

@ -730,7 +730,7 @@ void TReport_field_mask::vedo_non_vedo()
enable(DLG_FINDREC, is_text && type != 'T');
show(F_CODVAL, is_currency); // Codice valuta di riferimento
show(F_LINK, strchr("DNS", type) != NULL); // Chi puo' essere un link?
show(F_PRESCRIPT, is_text);
show(F_PRESCRIPT, is_text || type == 'I');
show(F_POSTSCRIPT, is_text);
enable_page(3, type == 'A');

View File

@ -149,6 +149,12 @@ TReport* TKlarkKent_app::create_report(const char* name) const
{
TReport* r = new TReport;
r->load(name);
TString custom_query;
get_custom_query("", name, custom_query);
if (custom_query.full())
r->set_recordset(custom_query);
return r;
}