Welcome! Log In Create A New Profile

Advanced

Filter Dates in Tables

Posted by Luiz Menezes.pcs.crosspost 
Luiz Menezes.pcs.crosspost
Filter Dates in Tables
July 20, 2008 09:33AM
On thing I think it is missing in WinDev XII new Filter in Tables feature, or maybe I did not find how:

One common Filter for Dates are periods (start and end date). It was very usefull to filter "Between", for Dates and also for values.

Can someone give the best aproach for solving this?

Thanks in Advance.




Message forwarded from pcsoft.us.windev
Milton
Re: Filter Dates in Tables
July 21, 2008 02:09AM
Hi Luiz,

Generally I populate my table views with a query. If you do this then you can set the display to filter between dates which are either inserted manually in the code or populated via paramaeters from the query.

If you use parameters you can populate them via a window as variables or by coding if you don't want to display a window before displaying the table.

HTH

Milton
Leo
Re: Filter Dates in Tables
July 22, 2008 08:55AM
Translation of BETWEEN:
sql ->MyDATE BETWEEN OldestDATE AND YoungestDATE

wl -> OldestDATE <= MyDATE <= YoungestDATE
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: