  | 
			
				SoftTree Technologies 
				Technical Support Forums
			 | 
		 
		  | 
	 
	 
	
	
	
		
	
	
	
		| Author | 
		Message | 
	 
	
		
			lodmit 
			 
			
  
			
			
				Joined: 25 Aug 2008 Posts: 4 Country: United States | 
			 
			  
		 | 
		
			
				  Code Formating breaks the code | 
				     | 
			 
			
				When I format this code:
 
 
IF @operation_result_code = 0 AND @error_code = 0 
 
  BEGIN
 
   EXEC @operation_result_code = SPName
 
       @user_id = @user_id, 
 
       @entity_id = @entity_id
 
 
       SET @error_code = @@ERROR
 
			
 
  END
 
 
 
my result is 
 
 
IF @operation_result_code = 0
 
   AND @error_code = 0
 
BEGIN
 
    EXEC 
 
         @operation_result_code = SPName
 
         @user_id =
 
         @user_id,
 
         @entity_id =
 
         @entity_id
 
         
 
         SET
 
         @error_code =
 
         @
 
         @ERROR
 
END
  | 
			 
		  | 
	 
	
		| Mon Aug 25, 2008 3:43 pm | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Please increase the value of "Line Length for Code Wrapping" configuration parameter for T-SQL formatting style, for example, set it to 120
  | 
			 
		  | 
	 
	
		| Mon Aug 25, 2008 4:30 pm | 
		          | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
   
 
		 | 
	 
	  |