Use the SearchClear() method which is part of the Field class to clear search values on a particular search key field. This is how you canreset search parameters specified by a user when they press the Return to Search button. You can call this using the shortcut notation: RECORD.FIELD.SearchClear(); Or you can declare a field class and then call the method. Put this code in the SearchInit event. If you are clearing a number of fields, I recommend creating a simple function (e.g. ResetSearch) in FieldFormula and calling that function rather than putting a single line of code in the SearchInit event for each field you are clearing. Just makes maintenance a little bit simpler as you only need one function and one call. |
相关文章
- Clearing Search Values
- [NeetCode 150] Search for Word
- pandas 连接数据库直接查表建立dataframe。loc,sort_values数据清洗操作
- 【使用bingAPI Create Bing Search resource through Azure Marketplace】
- PostgreSQL中VALUES Lists列表
- 探索Elastic Search:强大的开源搜索引擎,详解及使用-结论
- [LeetCode]题解(python):099-Recover Binary Search Tree
- Object.values 、 Object.keys-拿到当前对象里面的value值
- 关于Elastic Search与MySQL之间的数据同步
- LintCode Search Insert Position