Patch level :4.0 nopatch
Files correlati : Ricompilazione Demo : [ ] Commento :"ripulito" il report; aggiunto il reset dei totali che adesso funziona sempre tranne che a depth = 1. git-svn-id: svn://10.65.10.50/trunk@14476 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									d99b6c6741
								
							
						
					
					
						commit
						95a754a01f
					
				@ -271,10 +271,13 @@ bool TCRPA_report::generate_columns (TString_array& codici, TString_array& testa
 | 
				
			|||||||
		if (head.items() > 0)
 | 
							if (head.items() > 0)
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			TString ps;
 | 
								TString ps;
 | 
				
			||||||
 | 
								//i campi dei totali da resettare sono tanti quante le colonne generate
 | 
				
			||||||
			for (int k = 1; k <= codici.items(); k++)
 | 
								for (int k = 1; k <= codici.items(); k++)
 | 
				
			||||||
			{		
 | 
								{		
 | 
				
			||||||
 | 
									if (ps.full())
 | 
				
			||||||
 | 
										ps << "\n";
 | 
				
			||||||
				ps << "MESSAGE RESET,F";
 | 
									ps << "MESSAGE RESET,F";
 | 
				
			||||||
				ps << head.level() << '.' << (k+model_id) << "\n";
 | 
									ps << head.level() << '.' << (k+model_id);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			head.set_prescript(ps);
 | 
								head.set_prescript(ps);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user