PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Simple Tables - Dont work - Sorting
Simple Tables - Dont work - Sorting
Iniciado por Owen, 30,jun. 2005 20:17 - 1 respuesta
Publicado el 30,junio 2005 - 20:17
Created two simple databases...
Clients
Fields: ClientsID (Key, Auto ID)and Name
ClientNotes
Field: ClientsID (Key with Duplicated) Date (Key with Duplicates, so you can sort), Type Key with Duplicates, so you can sort) and Note
Create a Form with Browse in Clients.
Next Drop a Table linked to file Client Notes on Clients Form, search field is ClientID.
Added code to the Date, Type and Note column when modified to add clientsid to clientsid row... clientsid=clients.clientid
Set date mask to be MM/DD/YYYY
Next entered in 3 notes out of date order...
1/1/05
1/4/07
2/2/05
Sorting by date does not work.
Any ideas?
Publicado el 01,julio 2005 - 10:45
Hi,

Maybe an idea....but i'm not sure :

Verify if your date type column in you table are :

Input mask : MM/DD/YYYY / returned value : YYYY/MM/DD

Without this, your sort can't work perfectly

I've seen sometimes this problem with Windev8 us with file/query table, by default the date column are defined with :

Input mask : MM/DD/YYYY / returned value : As is

And make some problems...

Regards
Fred