Re: Append query
- From: "Ken Ivins" <ken-27@xxxxxxxxxx>
- Date: Thu, 5 Jan 2006 15:14:50 -0500
Yes Both Append queries run just fine if I just run them from main screen or
from design view. I'll take out the warning.
Ken
"Douglas J Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx> wrote in message
news:eH1iHKjEGHA.2012@xxxxxxxxxxxxxxxxxxxxxxx
> Sounds as though there's something wrong with qryApndIndTable. Does the
> query run if you try running it by itself?
>
> (BTW, you don't need the DoCmd.SetWarnings False and DoCmd.SetWarnings
> True
> if you're using the Execute method)
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Ken Ivins" <ken-27@xxxxxxxxxx> wrote in message
> news:uSK8MBjEGHA.984@xxxxxxxxxxxxxxxxxxxxxxx
>> I am trying to run an Append query from VBA code. Below is the code. I
> used
>> this in the same database to run a delete Query using this code and it
> works
>> great. I just replaced the query name. Now I get a 'Run Time Error 3061
> Too
>> few parameters 1" .
>>
>> Any idea what my problem is?
>>
>> Dim Db As Database
>> DoCmd.SetWarnings False
>>
>> Set Db = CurrentDb()
>>
>> Db.Execute "qryApndIndTable", dbFailOnError
>>
>> DoCmd.SetWarnings True
>>
>>
>> thanks,
>>
>> Ken
>>
>>
>
>
.
- Follow-Ups:
- Re: Append query
- From: Douglas J. Steele
- Re: Append query
- References:
- Append query
- From: Ken Ivins
- Re: Append query
- From: Douglas J Steele
- Append query
- Prev by Date: Re: Too few parameters. Expected 1.
- Next by Date: Re: Weird NotInList behaviour
- Previous by thread: Re: Append query
- Next by thread: Re: Append query
- Index(es):
Relevant Pages
|