Microsoft Access报告事件vba

时间:2014-12-31 19:13:57

标签: ms-access access-vba

Microsoft Access Report.open事件。我打开pdf报告时运行以下代码

Private Sub Report_open(Cancel As Integer)

Me.Filter = "Account_id in(102) And [Level 3] ='Other')"

Me.FilterOn = True

End Sub

我将此代码更改为

Private Sub Report_open(Cancel As Integer)

Me.Filter = "Account_id in(102) And [Level 3] in('Equityarb','Other')"

Me.FilterOn = True

End Sub

并对其进行了测试并且工作并保存并退出报告在打开报告时,CHANGES未生效。无法获得保存更改

1 个答案:

答案 0 :(得分:0)

紧凑和修理。再来一遍。这通常可以修复那种奇怪的东西。