Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am getting duplicate dates in a list box like this:

But I just want to show only distinct dates.
Do you know how to set it up?
Thanks in advance
HI
Use
Load *, Floor(DateField) as DateField
from tablename;
Hope it helps
HI
Use
Load *, Floor(DateField) as DateField
from tablename;
Hope it helps
These dates probably contain a time part also, that is hidden by the formatting. You need to create the field using Date(Floor(Date)).
See more on Why don’t my dates work?
HIC
Yes, you solution worked. ![]()
Thanks a lot..
On Thu, Mar 21, 2013 at 7:50 PM, Henric Cronström
Hi,
The following worked for me as an expression in the ListBox.
Date(floor(DATE_TIME_FIELD), 'MM/DD/YYYY')
Hope this helps someone.
Yes, I have used the same expression in my ListBox while following your
help.
Thanks...