PC Review


Reply
Thread Tools Rate Thread

Auto Population of fields

 
 
EJ
Guest
Posts: n/a
 
      26th Feb 2010
I have created a db that tracks equipment repair/expense. I have been asked
to create fields in an entry form that would auto-populate based on
information entered in another field.

If Equipment # = FL1 than Model # would be XM123 and Serial # is 654-321.

I have this information in a current table but can not get the desired
result. Help!


--
Never stop learning!
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      26th Feb 2010
On Fri, 26 Feb 2010 13:46:01 -0800, EJ <(E-Mail Removed)> wrote:

>I have created a db that tracks equipment repair/expense. I have been asked
>to create fields in an entry form that would auto-populate based on
>information entered in another field.
>
>If Equipment # = FL1 than Model # would be XM123 and Serial # is 654-321.
>
>I have this information in a current table but can not get the desired
>result. Help!


Well... as a rule you might want to *DISPLAY* these values on a form, but not
store them redundantly in another table. If the equipment number defines the
model number and serial number, then the model and serial should be stored in
the equipment table, and noplace else!

You can display them on the form by using a Combo Box based on the equipment
table to store the Equipment # (by the way, it's best NOT to use the #
character in a fieldname; it's a date delimiter and Access can get confused).

Include the other fields that you want to show in the combo's rowsource query.

On the form put textboxes with control sources like

=comboboxname.Column(n)

where n is the zero based position of the field - i.e. if the serial number is
the third field in the query, use (2).
--

John W. Vinson [MVP]
 
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
Automatic Population of Fields =?Utf-8?B?UnV0aCBFbnJpZ2h0?= Microsoft Access VBA Modules 0 29th May 2007 07:56 PM
Automatic Population of Certain Fields =?Utf-8?B?UnV0aCBFbnJpZ2h0?= Microsoft Access VBA Modules 1 25th May 2007 02:46 PM
Automate Population in Fields =?Utf-8?B?T2x1IFNvbGFydQ==?= Microsoft Access Forms 3 10th Jul 2006 01:41 AM
Drop Down box - value selection initiates auto population of subsequent fields kellerama Microsoft Excel New Users 0 1st Oct 2004 11:08 PM
Drop Down box - value selection initiates auto population of subsequent fields kellerama Microsoft Excel New Users 2 1st Oct 2004 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:00 AM.