Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Index Error
Message
De
19/04/2013 01:25:51
 
 
À
18/04/2013 11:17:42
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:
01571449
Vues:
46
>>So....... someting in VFP 9.0 Service Pack 1 fails in the Index Tag if you use DTOC against a datetime field.... also, there is a built in filter with the tag too.... "status = 5" for the filter. If it helps in understanding this error.
>
>MS changed the behavior of indexes to not allow potentially variable length keys. DTOC() can potentially have a variable length depending on how SET CENTURY is set.
>
>Doug


Doug, is this feature you mention enabled in VFP9? How is/was Tommy able to use the INDEX ON DTOC(x) FOR... expression (x being datetime) to initially create the index if MS disallows potentially variable length keys? It only failed for Tommy on the update, yet I would think it should fail at all points if such a feature were enabled as a rule.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform