|Newbie questions about Pliant
More filter and sort
How can i do that ?
|Message posted by maybe Rogerio on 2001/09/08 04:40:41
|I want to do a search in my database that could filter wthi more than one setence, example:
each u rota filter u:dia > 10
I want to do something like
each u rota filter u:dia > 10 and u:dia <20 and u:mes >5 and u:mes<10
Cause i wante do write in my database a date, and them search by an interval of date.
after i do that i want to sort it by date, but i not using the date of Pliant, the date is put manually when the form is writing, acctully is just tree fields of integers.
|Message posted by maybe Hubert Tonneau on 2001/09/08 06:57:22
|Just use a 'and' in your filter formula, and write your own sorting function
that will translate a date at your format to some lexicographic string such
as 20010908 for september the 8 th of 2001.