Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with VFP 6 and dates
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00198872
Message ID:
00200866
Vues:
10
>>INDEX ON od_tipo_documento + STR(CTOD("31/12/2100") - dt_documento, 5) TAG TIPO
>>
>>And everything is working fine (????).
>>
>>Regards,
>
>Are you trying to put something in descending order? Why not use DESCENDING... or, if you need just the date in descending order, try this...
>
>INDEX ON od_tipo_documento + alltrim(str( {^9999-12-31} - dt_documento ))
>
>Bob

Thanks Bob, but this is exactly what I'm doing. The only difference is that I'm using 2100 instead of 9999...I solved the problem using CTOD("31/12/2100") instead of {^2100-12-31}. Thanks for the manual, but I could not download it from my ISP. I'm waiting for Kevin's message with another copy.

Regards,
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform