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:
00500838
Views:
21
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform