Re: Run-time error '2001'
- From: Judy Ward <JudyWard@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 9 Aug 2005 19:10:01 -0700
To rule out a problem with the name of the query, I copied it and gave it a
simple name. It was when I clicked on the query to run it that I realized
this query asks for a parameter. Mystery solved. I appreciate your response
(which led to my discovery).
Thank you,
Judy
"Douglas J. Steele" wrote:
> Check to make sure you haven't mistyped the name of the query. (Yeah, the
> error message is a little misleading, isn't it!)
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
>
> "Judy Ward" <JudyWard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:42504611-FB99-4994-8ECC-08A6298F875B@xxxxxxxxxxxxxxxx
> >I am trying to use the DCount function:
> >
> > If DCount("*", "qryName") = 0 Then
> > MsgBox "Query returns no records"
> > End If
> >
> > It works just great for several queries, but when I try to use a
> > particular
> > query I get:
> > Run-time error '2001':
> > You canceled the previous operation
> >
> > Does anyone have any idea why?
> > Thank you, Judy
>
>
>
.
- References:
- Run-time error '2001'
- From: Judy Ward
- Re: Run-time error '2001'
- From: Douglas J. Steele
- Run-time error '2001'
- Prev by Date: Re: Why close a Recordset?
- Next by Date: Problem with record navigation
- Previous by thread: Re: Run-time error '2001'
- Next by thread: VB SQL Statement Help
- Index(es):
Relevant Pages
|