Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index keep corrupting
Message
 
 
To
25/09/2018 13:44:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01662237
Message ID:
01662260
Views:
55
>>>Use DTOS instead of DTOC. I think DTOC function is not good as part of index expression as it's settings dependent.
>
>Thanks. We'll keep that in mind as a future project because it may cause a lot of changes in code, but I don't think it's the main cause here because we set all the environment in one place and every form, class, etc. use the same setting. So, SET CENTURY and SET DATE (for example) are only set once and never touched afterward.

I'm pretty sure it is the main cause of your issues. If you have expression which is not guaranteed to always remain the same, you're asking for troubles.
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