Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index on more than one field
Message
De
13/01/1997 11:38:43
 
 
À
13/01/1997 11:12:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017171
Message ID:
00017189
Vues:
66
>yes, you should do the DTOC, but you should also be aware that the order of the file using this as an index will vary greatly depending on the date format being used! mmddyy, yymmdd, yyyymmdd, ddmmyy; see what im getting at!?
>
>when necessary to create such an index, i usually (depending on need of the order being created) create a separate char field to mirror the date field with a format of yyyymmdd, this assures a descending order.

In this situation, I would use DTOS(DATE(),1).
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform