| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| petluri Beginner
 
  
 Joined: 05 Dec 2002
 Posts: 19
 Topics: 5
 Location: Virginia, USA
 
 | 
			
				|  Posted: Tue Jan 18, 2005 1:44 am    Post subject: EZT Report Help |   |  
				| 
 |  
				| Hi, 
 If my report is having LINE 01 and LINE 02. If LINE 01 is having the Data spaces, How do I skip printing a line if the data in it is having spaces?
 
 Regards,
 Sreeni
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cogito-Ergo-Sum Advanced
 
 
 Joined: 15 Dec 2002
 Posts: 637
 Topics: 43
 Location: Bengaluru, INDIA
 
 | 
			
				|  Posted: Tue Jan 18, 2005 2:08 am    Post subject: |   |  
				| 
 |  
				| Don't write it to the report dataset. _________________
 ALL opinions are welcome.
 
 Debugging tip:
 When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
 -- Sherlock Holmes.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| petluri Beginner
 
  
 Joined: 05 Dec 2002
 Posts: 19
 Topics: 5
 Location: Virginia, USA
 
 | 
			
				|  Posted: Tue Jan 18, 2005 6:06 am    Post subject: |   |  
				| 
 |  
				| But how can I do that? I will be there REPORT Process already. From there I want to skip writing LINE01 only. But I still want to write LINE02. 
 Regards,
 Sreeni
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cogito-Ergo-Sum Advanced
 
 
 Joined: 15 Dec 2002
 Posts: 637
 Topics: 43
 Location: Bengaluru, INDIA
 
 | 
			
				|  Posted: Tue Jan 18, 2005 7:20 am    Post subject: |   |  
				| 
 |  
				| You can use SORT or any other utility to omit the blank lines. Or, write a program to do so. _________________
 ALL opinions are welcome.
 
 Debugging tip:
 When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
 -- Sherlock Holmes.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 | 
			
				|  Posted: Tue Jan 18, 2005 9:21 am    Post subject: |   |  
				| 
 |  
				| petluri, 
 
 In the easytrieve pgm itself add a if statement to skip the blank lines
 
 
  	  | Code: |  	  | if line01 field = ' '
 continue
 else
 print rpt
 end-if
 
 | 
 
 Hope this helps...
 
 Cheers
 
 kolusu
 _________________
 Kolusu
 www.linkedin.com/in/kolusu
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  | 
	
		|  |