【问题标题】:How to filter a query with partial string matches in Access如何在 Access 中过滤具有部分字符串匹配的查询
【发布时间】:2018-07-31 12:14:01
【问题描述】:

我正在使用下面的代码来过滤查询,但它只返回完全匹配。如果我想查看以 John 为名的每个人,我将如何更改?

With Me
    .Filter = "[Initiator's Name]='John'"
    .FilterOn = True
End With

【问题讨论】:

    标签: sql ms-access ms-access-2013


    【解决方案1】:

    我明白了

    With Me
        .Filter = "[Initiator's Name] LIKE '*John*'"
        .FilterOn = True
    End With
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-26
      • 1970-01-01
      • 2023-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-09-19
      • 1970-01-01
      相关资源
      最近更新 更多