Dan Musicant
2010-06-17 03:09:23 UTC
Why does this happen? I have a character field with a simple index on it
and if I try to modify the structure to make the field anywhere near the
maximum of 254 characters for a character type field I get errors :
Invalid key length. I have to reduce the number of characters to not get
the error. I have no idea just how many characters I have to reduce it
from 254 to not get errors, it's a total mystery to me. I'm using VFP
9.0 here. Been having this problem for a while. Anyone know what may be
afoot? The field is named "desc" and the index is achieved thusly:
INDEX on desc TAG desc (i.e. as simple as can be)
Dan
Email: dmusicant at pacbell dot net
and if I try to modify the structure to make the field anywhere near the
maximum of 254 characters for a character type field I get errors :
Invalid key length. I have to reduce the number of characters to not get
the error. I have no idea just how many characters I have to reduce it
from 254 to not get errors, it's a total mystery to me. I'm using VFP
9.0 here. Been having this problem for a while. Anyone know what may be
afoot? The field is named "desc" and the index is achieved thusly:
INDEX on desc TAG desc (i.e. as simple as can be)
Dan
Email: dmusicant at pacbell dot net