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
Apr 20, 1997

How to determine current filter/sort associated with DataWindow

Question:
How can I determine the current filter and/or sort associated with a DataWindow?

For example:

s_old_filter = dw_1.WhatsTheCurrentFilter()
dw_1.SetFilter("")
dw_1.Filter()
// Do something
dw_1.SetFilter(s_old_filter)
dw_1.Filter()

Answer:
You can use the Describe function:

ls_OldFilter = dw_1.Describe( "datawindow.table.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