PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Effect of the function
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Switches to input mode the search area found in the column title of the Table or Treeview Table control .
    This function has the same effect as a click performed by the user on the icon representing a magnifier. It can start a search or implement a filter on the control.
    To cancel a filter started by <Table>.InputSearch, all you have to do is use TableDesactiveFiltre_objet.
    Note: This function is ignored if the specified Table control is using a non-proportional scrollbar ("Proportional scrollbar" unchecked in the "Details" tab of the description window of the control). See Characteristics of columns in a Table control for more details.
    Versions 19 and later
    WEBDEV - Browser code This function is now available in Browser code for Table controls in browser mode.
    New in version 19
    WEBDEV - Browser code This function is now available in Browser code for Table controls in browser mode.
    WEBDEV - Browser code This function is now available in Browser code for Table controls in browser mode.
    Example
    // Switches the COL_Name column to edit mode
    COL_NAME.InputSearch()
    Syntax
    <Column>.InputSearch([<Type of filter or search> [, <Initial value>]])
    <Column>: Control name
    Name of column that will be switched to search mode. The function has no effect if this operation cannot be performed on this column (non-key column for example).
    The name of the column can be given directly or in the following format: <Table control>.<Column>.
    <Type of filter or search>: Optional Integer constant
    Type of filter to apply or type of search to perform:
    filterStartsWithDisplays the rows whose value for the specified column "Starts with" the characters specified in <Initial value>.
    filterContainsDisplays the rows whose value for the specified column "Contains" the characters specified in <Initial value>.
    filterDifferentDisplays the rows whose value for the specified column "differs" from the characters specified in <Initial value>.
    filterEqualDisplays the rows whose value for the specified column "is equal" to the characters specified in <Initial value>.
    filterLessOrEqualDisplays the rows whose value for the specified column "is less than or equal to" the characters specified in <Initial value>.
    filterLessDisplays the rows whose value for the specified column "is less" than the characters specified in <Initial value>.
    filterDoesNotStartWithDisplays the rows whose value for the specified column "Does not start with" the characters specified in <Initial value>.
    filterDoesNotContainDisplays the rows whose value for the specified column "does not contain" the characters specified in <Initial value>.
    filterDoesNotEndWithDisplays the rows whose value for the specified column "does not end with" the characters specified in <Initial value>
    filterGreaterOrEqualDisplays the rows whose value for the specified column "is greater than or equal to" the characters specified in <Initial value>.
    filterGreaterDisplays the rows whose value for the specified column "is greater" than the characters specified in <Initial value>.
    filterEndsWithDisplays the rows whose value for the specified column "ends with" the characters specified in <Initial value>.
    searchStartsWithSorts the table according to the specified column, switches the column to search mode and fills the edit control of the column with the characters specified in <Initial value>. Displays the rows from the ones for which the value of the specified column "starts with" the characters specified in <Initial value>.
    searchDefault
    (Default value)
    Sorts the table according to the specified column and switches the column to search mode.

    <Initial value>: Optional character string (with quotes)
    Initial value that must be specified in the input area of search mode.
    Remarks

    Effect of the function

    This function will have no effect if the switch to search mode cannot be performed. For example, the search mode will not be enabled:
    • If the column was not defined as column with search (description window of the control).
    • If the column is not associated with a key item.

    Use conditions

    This function is available for a memory or browsing control.
    WEBDEV - Browser code This function is available for Table controls in browser mode only.
    WEBDEV - Browser code The TreeView Table control is not available.
    Component : wd250obj.dll
    Minimum version required
    • Version 23
    This page is also available for…
    Comments
    Click [Add] to post a comment