Patch level :4.0 528

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :la ricerca delle commesse va fatta sul file LF_COMMESSE, non sulla tabella CMS


git-svn-id: svn://10.65.10.50/trunk@14931 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2007-02-19 14:53:34 +00:00
parent b249fefa56
commit fb5350232e
2 changed files with 9 additions and 9 deletions

View File

@ -80,7 +80,7 @@ protected:
virtual bool user_create();
virtual bool user_destroy();
virtual TMask* get_mask(int mode) { return _msk; }
virtual bool changing_mask(int mode) { return FALSE;}
virtual bool changing_mask(int mode) { return false;}
virtual void init_query_mode(TMask& m);
virtual void init_query_insert_mode(TMask& m);
virtual void init_insert_mode(TMask& m);
@ -123,7 +123,7 @@ bool TCesp_per_cms::user_create()
{
_rel = new TRelation(LF_SALCECMS);
_msk = new TCesp_per_cms_mask;
return TRUE;
return true;
}
@ -131,7 +131,7 @@ bool TCesp_per_cms::user_destroy()
{
delete _rel;
delete _msk;
return TRUE;
return true;
}

View File

@ -167,12 +167,12 @@ PAGE "Riga" -1 -1 64 8
STRING S_CODCMS 20
BEGIN
PROMPT 1 1 "Codice commessa "
USE CMS
INPUT CODTAB S_CODCMS
DISPLAY "Codice@20" CODTAB
DISPLAY "Descrizione@50" S0
OUTPUT S_CODCMS CODTAB
OUTPUT S_DESCMS S0
USE LF_COMMESSE
INPUT CODCMS S_CODCMS
DISPLAY "Codice@20" CODCMS
DISPLAY "Descrizione@50" DESCRIZ
OUTPUT S_CODCMS CODCMS
OUTPUT S_DESCMS DESCRIZ
CHECKTYPE REQUIRED
FIELD CODCMS
FLAGS "U"