PC Review


Reply
Thread Tools Rate Thread

Catch errors on append query

 
 
=?Utf-8?B?QnJ1Y2U=?=
Guest
Posts: n/a
 
      28th May 2004
Hi Graham

I appreciate your help on this matter. I copied the code in and it says Run time error 3061, too few parameters

At this point, rather than waste to much more of your time, I would like to send you copy of the datbase if you have a little time to look at it. At the minute ts only a model with some test data

What email should I send it to

Bruce
 
Reply With Quote
 
 
 
 
Graham R Seach
Guest
Posts: n/a
 
      1st Jun 2004
Bruce,

gseach
@
REMOVE THIS LINE
pacificdb
com
au

Graham R Seach
Microsoft Access MCP, MVP
Sydney, Australia


"Bruce" <(E-Mail Removed)> wrote in message
news:9C408FB4-FAEF-41EE-A480-(E-Mail Removed)...
> Hi Graham,
>
> I appreciate your help on this matter. I copied the code in and it says

Run time error 3061, too few parameters.
>
> At this point, rather than waste to much more of your time, I would like

to send you copy of the datbase if you have a little time to look at it. At
the minute ts only a model with some test data.
>
> What email should I send it to?
>
> Bruce



 
Reply With Quote
 
Graham R Seach
Guest
Posts: n/a
 
      3rd Jun 2004
Bruce,

OK, both [qry_Append_LTD] and [frm_PAF_Maintenence] are corrupt!

I'd recommend re-creating both from scratch. To demonstrate the fact that
they are corrupt, follow this procedure:

1. Open [qry_Append_LTD] in design view, and remove the "Is Not Null"
criteria for LTD_Temp.

2. From the Query menu, select [Select Query].

3. Open [frm_PAF_Maintenence] in design view.

4. Select [txt_StartDate], and remove "Short Date" from its Format
property.

5. Select [txt_EndDate], and remove "Short Date" from its Format property.
Also remove the ValidationRule and ValidationText.

6. Open [frm_PAF_Maintenence] in normal view (without saving it).

7. Set the following values:

Deal = LTD
Business = RT
Category = Bun
Customer = CustomerA
PAF ID = <anything you like>
Start Date = "aaa"
End Date = "bbb"

8. Run [qry_Append_LTD]. You should see a start date and end date of "aaa"
and "bbb", respectively.

9. Change [txt_StartDate] = 1/1/2000, and change [txt_EndDate] = 2/1/2000.

10. Re-run [qry_Append_LTD]. You should see a start date and end date of
1/1/2000 and 2/1/2000, respectively.

10. Open [frm_PAF_Maintenence] in design view, and re-instate "Short Date"
and the validation stuff.

11. Re-run [qry_Append_LTD].

12. Save the form and the query, then when you re-open them both, you'll see
the problem has returned.


This clearly demonstrates that the problem can be resolved, but not using
the existing form/query.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyT...764559036.html


"Graham R Seach" <gseach@NOSPAM_pacificdb.com.au> wrote in message
news:(E-Mail Removed)...
> Bruce,
>
> gseach
> @
> REMOVE THIS LINE
> pacificdb
> com
> au
>
> Graham R Seach
> Microsoft Access MCP, MVP
> Sydney, Australia
>
>
> "Bruce" <(E-Mail Removed)> wrote in message
> news:9C408FB4-FAEF-41EE-A480-(E-Mail Removed)...
> > Hi Graham,
> >
> > I appreciate your help on this matter. I copied the code in and it says

> Run time error 3061, too few parameters.
> >
> > At this point, rather than waste to much more of your time, I would like

> to send you copy of the datbase if you have a little time to look at it.

At
> the minute ts only a model with some test data.
> >
> > What email should I send it to?
> >
> > Bruce

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Append Query gives errors GMC -LSND Microsoft Access 0 13th May 2009 08:48 PM
append query errors =?Utf-8?B?RGF2ZSBG?= Microsoft Access Queries 4 22nd Aug 2006 02:57 PM
Append Query Errors =?Utf-8?B?a2F5YWJvYg==?= Microsoft Access 2 13th Jun 2005 09:16 PM
Append query errors. . . . Rick Microsoft Access Queries 1 24th Jul 2003 07:49 PM
APPEND Query errors Akshay Bakhai Microsoft Access Queries 1 24th Jul 2003 09:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:00 PM.