Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00146041
Message ID:
00146115
Views:
37
I can't answer for Erik, but I had a similar case where I needed to find the age of people on their date of surgery. The index was on DateOfSurgery - DateOfBirth, and all queries had to be written the same way. Made for some interesting behind-the-scenes code in queries, since users really didn't want to enter > 23725 days instead of > 65 years. :-)

Barbara

>Erik,
>
>That's really odd that you had to build an expression like that into the index.
>I wish sys(3054) would tell us more detail about what expression is making the whole where only partially/not optimizeable.
>
>In my case tCreated is a type T field, and ltStart, ltStop are local variables of type T. This table never has deleted records so I SET DELETED OFF before running the select instead of doing a tag on deleted(). It saves a lot of space since this table is millions of records.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform