Patch level : 4.0 814
Files correlati : ve0.exe Ricompilazione Demo : [ ] Commento : Bug 0000777: RIcerca commesse centri di costo e fasi Prevedere un filtro per utente nelle ricerche su commesse centri di costo e fasi git-svn-id: svn://10.65.10.50/trunk@15767 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e33e4be78d
commit
d428c5f3eb
@ -211,7 +211,6 @@ void TRelation_application::set_fixed()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void TRelation_application::enable_query()
|
void TRelation_application::enable_query()
|
||||||
{
|
{
|
||||||
const bool query = _mask->query_mode();
|
const bool query = _mask->query_mode();
|
||||||
@ -220,7 +219,8 @@ void TRelation_application::enable_query()
|
|||||||
for (int i = _mask->fields() - 1; i >= 0; i--)
|
for (int i = _mask->fields() - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
TMask_field& c = _mask->fld(i);
|
TMask_field& c = _mask->fld(i);
|
||||||
if (c.in_key(0) && c.enabled_default())
|
|
||||||
|
if (c.in_key(0) && c.enabled_default())
|
||||||
{
|
{
|
||||||
if (c.in_key(1))
|
if (c.in_key(1))
|
||||||
c.enable(keyon);
|
c.enable(keyon);
|
||||||
@ -420,6 +420,7 @@ void TRelation_application::query_mode(
|
|||||||
{
|
{
|
||||||
set_mode(MODE_QUERY);
|
set_mode(MODE_QUERY);
|
||||||
init_query_mode(*_mask);
|
init_query_mode(*_mask);
|
||||||
|
enable_query();
|
||||||
|
|
||||||
// Aggiorna bottoni di ricerca: utile soprattutto per ve0 che imposta CODNUM
|
// Aggiorna bottoni di ricerca: utile soprattutto per ve0 che imposta CODNUM
|
||||||
if (has_filtered_cursor())
|
if (has_filtered_cursor())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user