Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mixed ascending and descending in same tag..?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00500818
Message ID:
00500838
Vues:
18
>>For some reason, I'm stumbling trying to figure this one out, so I'm looking for suggestions.
>>
>>We have a file of interest rates which we are currently indexing on:
>>
BankCode+DTOS(ValueDate)
>
>
BankCode+dtos(date()-ValueDate)
>

Nadya,
Subtracting one date from another gives you the number of days between them. As such, DTOS() will thorw an error because it expects a date not a numeric.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform