Auto-complete

You can use the AutoComplete property for string fields to automatically fill the contents of the field as the user types, based on the values previously entered for the field.

To use the auto-complete capability for a string field, you must set the AutoComplete property to true for every occurrence of the field for which you want the functionality. When a user adds a value to the field and moves the focus, the value is added to the auto-complete list for the field.

When the user begins to type characters into a field with the AutoComplete property set to true, the auto-complete list for the field will be examined to find any matches. The matching items will be displayed in a drop-down list. The user can continue typing a value to refine the items listed, or use the arrow keys or mouse to select one of the items in the list. If drop-down list isn’t large enough to fully display the auto-complete items, use the resize area in the corner of the list to expand the list.

[spacer]

To remove an item from the auto-complete list, right-click the item and choose Remove From List in the menu that appears.

If the same global field appears in multiple windows, and the AutoComplete property is set to true for each instance, the fields will share the auto-complete data. Auto-complete values entered in one field will also be available in the other field instances. The behavior is the same for a local field that appears in multiple windows within a form. If each instance of the local field has the AutoComplete property set to true, the local field will share the auto-complete data.

If the auto-complete field has a linked-lookup button, an additional item will appear at the bottom of the auto-complete list. Choosing this item will open the lookup window, just as if the lookup button had been clicked.

[spacer]

Values are added to the auto-complete list for a field any time the focus moves to the field, the content of the field changes, and the focus leaves the field. A user changing a field’s value, or a lookup window returning a value are common ways that values are added to the auto-complete list.

Auto-complete items are written to a file that is stored in the “Application Data” folder for the user currently logged into the workstation. By default, this folder is hidden in Windows Explorer. The auto-complete values stored in this table will be used the next time Microsoft Dynamics GP is run. To remove the auto-complete items for a user, you must delete the table that stores the items.


Documentation Feedback