Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法根据日期更改表单记录源。例如,如果预订日期在 2013 年 8 月 8 日之前进行,则使用此视图,否则使用新视图?
在您用于选择预订的组合框中,您可以更改RecordSource属性
RecordSource
例子:
Private Sub combo_AfterUpdate() Me.RecordSource = "NewQuery" Me.Requery End Sub