method InputCustomCode(ControlName: String, TableName: String[, Filter: String, FilterButtonVisible: Boolean, AllowEmpty: Boolean, UseExactMatch: Boolean])
Define a Lookup control in an input grid that allows input of the primary code from a specified custom table or memory table.
InputCustomCode method syntax has these named arguments:
Parameter |
Description |
|---|---|
Control Name |
Required. Name of field to display this editor for. |
Table Name |
Required. Custom table or memory table object to select code to display in the Lookup. |
Filter |
Optional. Filter expression for limiting available master file code. |
Filter Button Visible |
Optional. Determines if the filter button is available on the control. Defaults to True. |
Allow Empty |
Optional. Determines if the Lookup can be cleared after a value has been selected. Defaults to False. |
Use Exact Match |
Optional. Determines if the Lookup can accept and return values not in the code list. Defaults to True. |
Note: You can load and save customisations to the drop-down list by right-clicking in the list and selecting
Customise when the form is running.
See also MaxBasic InputCustomCode function and Scripted Form InputCustomCode method.