Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autocomplete Limitation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01070833
Message ID:
01071291
Views:
25
Hello Dan,

>I have found that autocomplete by default is only working correctly (in my mind at least) if the width of the data is not greater than 30 characters. I tried using autocomplete on a textbox used in getting a folder name. If the folder name was longer than 30 characters, each time the folder was picked a new entry was added to the autocomp.dbf table . I have noticed that the index created for the autocomp.dbf is UPPER(source+LEFT(data,30))+PADL(count,8). If I change the 30 to let's say 40 then autocomplete works correctly for data up to and including 40 characters. Does anyone know of the ramifications of changing the index on the autocomp table or if I am missing something here?
>
>TIA
>
>-Dan

if it works for you, then why bother with question why it works ;). I think that it will work for more characters flawlessly.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Previous
Reply
Map
View

Click here to load this message in the networking platform