Hi, Mike.
>Any code samples... on how to use this feature? I found the help file confusing...
I think there is a sample in the Solution Samples (check them from the Task Pane).
In any case, you may just start by dropping a textbox in a form and turning Autocomplete=.t.
Then run the form and you'll see that it works.
Some of the things you can tweak on a control by control basis are:
- Where the AutoComplete.dbf is (this table stores the value you go entering)
- What's the name to wich these values get associated (by default, it is the control name)
- The sorting scheme, and much more things
Play with it. It is pretty simple, although I recommend you to think very well where to use it. It does not replace a combobox or any other structural control where entries are validated. Autocomplete is more for URL or email kind of things, not for picking values for a regular database app.
Regards,