Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mixed ascending and descending in same tag..?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00500818
Message ID:
00500843
Views:
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.

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
Previous
Reply
Map
View

Click here to load this message in the networking platform