【问题标题】:Ms Access Combo Box option "All" [duplicate]Ms Access 组合框选项“全部”[重复]
【发布时间】:2014-08-27 00:47:50
【问题描述】:

我有一份基于查询的报告 - 此查询是根据显示我的所有“客户”的组合框过滤的

如何在此组合框中包含一个选项 - 它将删除过滤器并显示所有客户的记录? 例如,用户可以一次选择 1 个客户进行报告,或者他们可以选择 ALL 选项,该选项将显示所有客户的记录

谢谢

【问题讨论】:

    标签: sql ms-access


    【解决方案1】:

    我认为您的问题已解决here 答案链接到以下msdn article.

    【讨论】:

    • 谢谢。 I have used this to create an "all" option in my combobox - however when "all" is selected - there is no data being returned? "Private Sub cmdClientReport_Click() If Not IsNull(cboReports) And cboReports "" Then DoCmd.OpenReport cboReports, acViewPreview Else MsgBox "You must first select a Report to Print!" cboReports.SetFocus End If cboReports = ""End Sub"
    • 我认为如果您遇到代码问题,最好提出一个新问题。但很高兴能帮上忙!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-04-13
    • 1970-01-01
    • 2018-03-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-05
    相关资源
    最近更新 更多