PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Date sorting
Date sorting
Iniciado por Jack Partridge, fev., 28 2004 2:55 PM - Sem resposta
Publicado em fevereiro, 28 2004 - 2:55 PM
I'm a long time Clarion user trying out the demo version of WinDev7.5. I
like it a lot. The IDE seems very powerful. It will take a while to just
explore it all.

Just the easy debugging which the interpreter makes possible is a huge
advantage to me.

When I get my feet more on the ground I'm looking forward to trying to
create a new RAD window type: form with lookup combo (rather than the VCR
buttons), which I think I would use a lot.

One thing that's disappointing is the handling of dates. It seems you have
to convert to integer to manipulate days, other than the DateDifference
function. But that's a fairly small inconvenience. What seems more serious
is that I'm finding that a file based table seems to be sorting on the
displayed string value (eg: "MMDDYY") instead of the underlying YYYYMMDD. Is
this correct or am I doing something wrong? Shouldn't a table be able to
display dates in any format and sort them correctly?

Looking at the same data in WDMap the dates look screwey. They are displayed
in xx/xx/xxxx format, but it looks like the first two x's are the year - 03
or 04. So I'm hoping that I've just corrupted these dates somehow. Are there
things you have to avoid in working with dates to avoid such corruption?

Thanks,

Jack Partridge
Pear Tree Software
(919) 479-0718