C
cw via AccessMonster.com
I have tried everything in the forums but cannot get my Continuous Form to
filter?
I have placed a simple Unbound Combo in the Header, with values "01" or "02"
but getting error: 2465 ?
If I use Access 2007 built-in Filtering, by right-clicking the Cycle field in
one of the records, and choose "Equal "01", the displayed records filter
correctly and display only the "01" records.
Thanks,
cw
-------------------------------------------------------
Private Sub ComboCycle_AfterUpdate()
Select Case Me!ComboCycle
Case Is = "01"
Me.Filter = ([qryAccounts_with_Balance_Due].[cycle] = "01")
Me.FilterOn = True
'MsgBox "Display Cycle 01 Records Only"
Case Is = "02"
Me.Filter = ([qryAccounts_with_Balance_Due].[cycle] = "02")
Me.FilterOn = True
'MsgBox "Display Cycle 02 Records Only"
End Select
End Sub
filter?
I have placed a simple Unbound Combo in the Header, with values "01" or "02"
but getting error: 2465 ?
If I use Access 2007 built-in Filtering, by right-clicking the Cycle field in
one of the records, and choose "Equal "01", the displayed records filter
correctly and display only the "01" records.
Thanks,
cw
-------------------------------------------------------
Private Sub ComboCycle_AfterUpdate()
Select Case Me!ComboCycle
Case Is = "01"
Me.Filter = ([qryAccounts_with_Balance_Due].[cycle] = "01")
Me.FilterOn = True
'MsgBox "Display Cycle 01 Records Only"
Case Is = "02"
Me.Filter = ([qryAccounts_with_Balance_Due].[cycle] = "02")
Me.FilterOn = True
'MsgBox "Display Cycle 02 Records Only"
End Select
End Sub