Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid key length err 112
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00329230
Message ID:
00329241
Views:
25
>Has anyone seen the error "Invalid key length" when doing a simple select statement from 2 tables. I am sure it is something with one of the data files because the same Identical version of software is running on several different machines without error. I have searched for and come up empty with a solutions
>
>foxpro version 2.6a
>

I've seen this with very large fields used in a WHERE clause; FPW tried to build a temporary index on the field that exceeded the maximum length on an index (240 characters or 100 characters depending on whether a compact or non-compact index is used). If the field involved is <240 characters, building a compact index on the field for all tables in advance may avoid the problem.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform