Corretta la ricerca sulla tabella ufficio centro servizio. Prima cercava
sulla tabella %UCC (Concessioni). Ora correttamente va cercare sulla tabella %UCS (Centro servizi). git-svn-id: svn://10.65.10.50/trunk@2052 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									cc947e7e18
								
							
						
					
					
						commit
						a24093cdd8
					
				@ -66,7 +66,7 @@ bool TTab_form::validate(TForm_item& fld, TToken_string& s)
 | 
				
			|||||||
    if (cod.not_empty())                 // Se specificato ...
 | 
					    if (cod.not_empty())                 // Se specificato ...
 | 
				
			||||||
    {            
 | 
					    {            
 | 
				
			||||||
      cod_us_uid = cod;
 | 
					      cod_us_uid = cod;
 | 
				
			||||||
      TTable ucc("%UCC");                // ... usa il centro servizi del comune
 | 
					      TTable ucc("%UCS");                // ... usa il centro servizi del comune
 | 
				
			||||||
      ucc.put("CODTAB", cod);
 | 
					      ucc.put("CODTAB", cod);
 | 
				
			||||||
      if (ucc.read() == NOERR)
 | 
					      if (ucc.read() == NOERR)
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user