Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Index Error
Message
De
22/04/2013 11:37:19
 
 
À
22/04/2013 11:13:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01571265
Message ID:
01571607
Vues:
68
>Rick
>
>Naomi said quote
>it doesn't make sense to use DTOC as is anyway, because the rows will not be properly sorted.
>unquote
>
>on which you replied with quote
>INDEX ON DTOC(dMyDate)...
>unquote
>
>so my thesis is:
>Naomi is 100% correct - one is not suppose to use dtoc() in an index expression, use dtos()
>
>please note correctly.
>Regards,
>Koen


My statement here is also correct. The DTOC() index will work correctly until a date-related setting is changed. That is based upon years of use and personal testing in VFP9SP2. It may not sort properly without setting a specific date format, but it works properly.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform