PC Review


Reply
Thread Tools Rate Thread

Adding a new record in an autolookup query?

 
 
=?Utf-8?B?YXJzZW5hbGF0dGFjazAwNw==?=
Guest
Posts: n/a
 
      6th Jul 2007
Right now I have a form based on an autolookup query such that when I type in
my VendorID, it pulls out all the information automatically if the vendor
already exists. It also allows me to edit and save all the existing
information for that vendor which is perfect. However, in the form, when I
click on add a new record (little box with an arrown and star at the bottom
of the form),a new form comes up and I enter a VendorID number which doesn't
currently exist in the database, but it won't allow me to save/add that new
reord since it says it doesn't recognize the VendorID (obviously since it's
new). It displays an error message.

Is there any way for Access to let me add a new record in a form that is
based on an autolookup query?!

Thank you for any help.
 
Reply With Quote
 
 
 
 
Joan Wild
Guest
Posts: n/a
 
      6th Jul 2007
Create a separate form for adding a new Vendor. You can put a command button on your existing form to open this form.

--
Joan Wild
Microsoft Access MVP
"arsenalattack007" <(E-Mail Removed)> wrote in message news:488FD8F4-5DBE-41E0-8F6A-(E-Mail Removed)...
> Right now I have a form based on an autolookup query such that when I type in
> my VendorID, it pulls out all the information automatically if the vendor
> already exists. It also allows me to edit and save all the existing
> information for that vendor which is perfect. However, in the form, when I
> click on add a new record (little box with an arrown and star at the bottom
> of the form),a new form comes up and I enter a VendorID number which doesn't
> currently exist in the database, but it won't allow me to save/add that new
> reord since it says it doesn't recognize the VendorID (obviously since it's
> new). It displays an error message.
>
> Is there any way for Access to let me add a new record in a form that is
> based on an autolookup query?!
>
> Thank you for any help.

 
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
Adding a new record in an autolookup query? =?Utf-8?B?YXJzZW5hbGF0dGFjazAwNw==?= Microsoft Access Queries 1 6th Jul 2007 07:43 PM
add a record in an autolookup query =?Utf-8?B?YXJzZW5hbGF0dGFjazAwNw==?= Microsoft Access Queries 1 6th Jul 2007 09:33 AM
How to use AutoLookup when adding or changing values? =?Utf-8?B?Q3JhZnRIZXI=?= Microsoft Access Forms 0 1st Jun 2006 06:35 PM
adding a record in a query with relationships difined only in query =?Utf-8?B?U3RlcGhlbg==?= Microsoft Access Queries 1 12th Apr 2004 01:43 PM
Adding a new record when the record source is a query. Andy Microsoft Access Forms 0 29th Jul 2003 02:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:04 AM.