Re: Newbie filter question
From: Wart (nospamWart_at_epix.net)
Date: 10/07/04
- Next message: Wart: "Re: Visual Basic 6 and Access Compatability"
- Previous message: Wart: "Re: Problem with sql statement in VB"
- In reply to: Dave F.: "Newbie filter question"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 7 Oct 2004 09:31:21 -0400
RecSet.Filter = "(field1 <> '" & ListBox1.Value & "')" ???
"Dave F." <df@bh.com> wrote in message
news:uxUFpnGrEHA.2580@TK2MSFTNGP15.phx.gbl...
> Hi
> I'm using ado within a vba routine.
> I have a recordset that I want to filter.
> I can get it to display all that meet the criteria:
>
> RecSet.Filter = "(field1 = '" & ListBox1.Value & "')" ' filters rset to
> return all ub's etc
>
> But is there an easy way to filter out the criteria & just display the
> rest?
>
> Something like NOT?
>
> Any help would be appreciated
>
> Dave F.
>
>
- Next message: Wart: "Re: Visual Basic 6 and Access Compatability"
- Previous message: Wart: "Re: Problem with sql statement in VB"
- In reply to: Dave F.: "Newbie filter question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|