我正在使用 access 2007,我需要一个函数来检查文本字段,如果找到某个单词,它将根据查找表返回某个值
例如我有一个文本字段如下:
ID Text
| 1 | engineers for mechanical work
| 2 | engineers for civil work
| 3 | engineers for electrical work
我有如下查找表:
Checkwords showords
| mechanical | mechanical engineer
| civil | civil engineer
| chemical | chemical engineer
| electrical | electrical engineer
| maintenance | maintenance engineer
| electronics | electronics engineer
我需要检查文本记录的功能,如果找到“机械”之类的文本,它将显示“机械工程师”,如果找到“土木”之类的文本,它将显示“土木工程师”等
我有大约 200 个单词要检查,所以我需要一个使用带有“like”参数的查找表的函数……这可能吗???