L
Leslie Isaacs
Hello All
I am using Access2K.
I have a main form called [frm drbags] with a subform called [frm gp bags].
On the main form, above the subform, I have an option group called [Frame4],
which has two options, with data values 1 and 2 respectively. I have the
following AfterUpdate event for the option group:
Private Sub Frame4_AfterUpdate()
If [Frame4].Value = 1 Then
[frm gp bags].Filter = "[destroyed date]is null"
[frm gp bags].FilterOn = True
Else
[frm gp bags].FilterOn = False
End If
End Sub
.... which doesn't work!
I have tried various combinations, but to no avail - the syntax is eluding
me.
Hope someone can help.
Many thanks
Leslie Isaacs
I am using Access2K.
I have a main form called [frm drbags] with a subform called [frm gp bags].
On the main form, above the subform, I have an option group called [Frame4],
which has two options, with data values 1 and 2 respectively. I have the
following AfterUpdate event for the option group:
Private Sub Frame4_AfterUpdate()
If [Frame4].Value = 1 Then
[frm gp bags].Filter = "[destroyed date]is null"
[frm gp bags].FilterOn = True
Else
[frm gp bags].FilterOn = False
End If
End Sub
.... which doesn't work!
I have tried various combinations, but to no avail - the syntax is eluding
me.
Hope someone can help.
Many thanks
Leslie Isaacs