Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Index Error
Message
From
22/04/2013 11:37:19
 
 
To
22/04/2013 11:13:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01571265
Message ID:
01571607
Views:
69
>Rick
>
>Naomi said quote
>it doesn't make sense to use DTOC as is anyway, because the rows will not be properly sorted.
>unquote
>
>on which you replied with quote
>INDEX ON DTOC(dMyDate)...
>unquote
>
>so my thesis is:
>Naomi is 100% correct - one is not suppose to use dtoc() in an index expression, use dtos()
>
>please note correctly.
>Regards,
>Koen


My statement here is also correct. The DTOC() index will work correctly until a date-related setting is changed. That is based upon years of use and personal testing in VFP9SP2. It may not sort properly without setting a specific date format, but it works properly.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform