PC Review


Reply
Thread Tools Rate Thread

Auto fill record with macro

 
 
jrrock26
Guest
Posts: n/a
 
      7th Jun 2010
I have some information on a form that I would like to auto fill everytime I
enter a part number. After the part number input I would then like a macro to
fill in the part name and standard cost boxes based on that part number. I
have a query that runs based off of a part number, to show standard cost and
part name, no I just need them to auto fill on the form.


 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      9th Jun 2010
It sounds like you've already decided "how" ... here are a few
considerations...

If your form is 'bound' to a table (or a query), what you're proposing might
be making unnecessary duplicate values (more like a spreadsheet than a
database).

If you use a combobox to look up (valid) part numbers, you could have the
form display the relevant fields that belong with the selected part number,
rather than have to run your macro to insert values.

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"jrrock26" <(E-Mail Removed)> wrote in message
news:FE466180-3DE0-4268-9591-(E-Mail Removed)...
>I have some information on a form that I would like to auto fill everytime
>I
> enter a part number. After the part number input I would then like a macro
> to
> fill in the part name and standard cost boxes based on that part number. I
> have a query that runs based off of a part number, to show standard cost
> and
> part name, no I just need them to auto fill on the form.
>
>



 
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
Auto Fill Custom Number on New Record Felix Oehl Microsoft Access Forms 2 3rd Apr 2009 03:16 PM
Re: Auto Fill Record from form into table Douglas J. Steele Microsoft Access 0 15th Jan 2007 01:43 PM
Auto fill in same record =?Utf-8?B?VmFs?= Microsoft Access 4 10th Sep 2006 04:00 AM
Record auto fill cneeley Microsoft Access Macros 1 30th Jan 2004 04:08 AM
Record auto fill form cneeley Microsoft Access Forms 1 29th Jan 2004 06:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 PM.