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()

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: