Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Jun 14, 2000

Hiding Rows in a Result Set

Question:
If I retrieve a record from my SQL into my DataWindow, can I hide the fields that return as 0?

Answer:
You can use the filter command to remove rows from your result set based on a logical expression.

For example, if your column was called foo, you could write:

dw_1.SetFilter( 'foo <> 0' )
dw_1.Filter()
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date