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:
00500843
Vues:
24
>>>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.

He-he, I realized it immediatelly after I posted :) See my other messages in the same thread. Too bad, there is no UNDO button :)
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform