Re: Help SQL filter
- From: "Jeff Johnson [MVP: VB]" <i.get@xxxxxxxxxxx>
- Date: Fri, 26 Aug 2005 23:20:44 -0400
"dib" <dNOSPAMibs@xxxxxxxxxxx> wrote in message
news:eOusrLrqFHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
> I have this and it is returning an error
> Runtime Error '3001' Arguments are of the wrong type, are out of
> acceptable range or are in conflict with one another.
>
> strBID is a String.
>
>
>
> rsTransH.Find "custid ='" & !CustId & "' And batchid ='" &
> strBId & "'"
Is this DAO or ADO? Because ADO does not support multiple criteria (i.e., no
ANDs) in the Find method. If this is DAO, build a string with your criteria
and examine it in the debug window before you actually try to call Find. If
you don't spot a problem, post that string here.
.
- Follow-Ups:
- Re: Help SQL filter
- From: dib
- Re: Help SQL filter
- References:
- Help SQL filter
- From: dib
- Help SQL filter
- Prev by Date: Help SQL filter
- Next by Date: Re: Help SQL filter
- Previous by thread: Help SQL filter
- Next by thread: Re: Help SQL filter
- Index(es):
Relevant Pages
|