AutoComplete Library for VDF11+ (compiles in all versions of VDF11 or better)
AutoComplete class for older versions.
AutoComplete help file only (this is included in the Library download).
AutoComplete is offered free of charge. We have put considerable effort into providing a class which is easy to use and enhances your application and now comes with a help file. You are under no obligation to pay for this source code. If anyone requests a license fee or otherwise claims ownership of this source code, please contact us.
The class is now provided as a Library and comes complete with a help file! Lots of enhancements have been made to make AutoComplete even easier to use. Includes studio markup for easier use in the studio. Best of all, it will compile in VDF11 or better without any code changes to your application!
This is a collection of classes that can be used to help the end-user work more efficiently. With very little setup, developers can add these classes to existing applications.
When there is a pause in the user's typing, a quick search is done based on the data they entered. Any records that start with the same value are displayed in a popup list. The focus remains in the entry form, however the user can arrow up/down and page up/down to scroll through the matching records. The user can simply press the enter key to select a record from the list or the escape key to close the list.
Autocomplete uses DataDictionaries, so it follows the rules that have been defined for relationships and constraints. If you constrain a file to display only records with an active status, then the autocomplete will also only show active status records. If you have an inventory file related to a vendor file, autocomplete on the inventory will only show inventory for the current vendor.
Autocomplete has built-in support for ASCII and NUMERIC fields. For numeric fields, if you enter a "1" in a numeric field, autocomplete will find anything that begins with a "1". Examples of numeric data beginning with a "1" would be: "1", "1,000", "1,452", "10,000,023".
This code is free to use. The entire source code is included. Native DataFlex classes were used so there are no ActiveX or DLL dependencies and since DAW is so committed to backwards compatibility... it means this code will probably continue to work unchanged as you upgrade from one version of VDF to another.
Classes are included for: Form, DBForm, and DBGrid.