Keith Nichols
Registered User.
- Local time
- Today, 02:21
- Joined
- Jan 27, 2006
- Messages
- 431
Hi Folks,
I have a boolean field in my table linked to a check box on my form. What I want to do is hide records that have a tick in the box but I'm having trouble filtering by the check box.
I have tried variations on:
But this looks like the wrong way to do it. I'mn thinking that I need to declare a variable and have some if/then test to show or not show a record.
Any ideas?
Regards,
Keith.
I have a boolean field in my table linked to a check box on my form. What I want to do is hide records that have a tick in the box but I'm having trouble filtering by the check box.
I have tried variations on:
Code:
'Filter archive records
Me.FilterOn = True
Me.Filter = [archive]='yes'
But this looks like the wrong way to do it. I'mn thinking that I need to declare a variable and have some if/then test to show or not show a record.
Any ideas?
Regards,
Keith.