Over the years of being a applications developer ( Delphi, Powerbuilder, VB, Agile Outsystems..etc). I have learned many things and I may need to refer to them in the future. Some of the tips may not be relevant with the later versions of the software. I am still in the process of transferring all my notes.
Friday, April 27, 2012
How do I show only unique rows in my datawindow without using SELECT DISTINCT in the SQL?
First sort the data on the column for which you want unique values, then apply the following sort and filter strings to the datawindow.
Sort String: “department_name A”
Filter String: “department_name <> department_name[-1] or GetRow () = 1″
Labels:
Powerbuilder
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment