Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Forms

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-23-2006, 08:38 PM
Novice
 
Join Date: Jun 2006
Posts: 1
adamch29
Default Auto filling form fields

It may be very simple, but I want to have certain fields in my form auto fill with field values from other fields from the same table. Lets say I have a part number and a description, if I select a part number from a drop down menu (combo box), how do I make sure that the corrisponding description pops up automatically in the form field I created for it. In general I'm not getting how to get corrisponding fields to populate the form. Am I making any sense?
Reply With Quote
  #2  
Old 07-25-2007, 04:22 PM
Lghtning4u Lghtning4u is offline Windows XP Access 2007 (version 12.0)
Novice
 
Join Date: Jul 2007
Posts: 3
Lghtning4u
Default

I use
Private Sub ProductID_AfterUpdate()
Me.UnitPrice = Me.ProductID.Column(2)
End Sub

to add the unit price when selecting a part, but can't seem to get it to work for more than one box.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
form not displaying fields ashiers Forms 0 09-19-2008 05:02 AM
Auto populate fields on a form ldarley Forms 0 08-14-2008 07:39 AM
Auto Scroll in a Form delliott777 Forms 0 05-31-2008 05:02 AM
Reports- Auto Expanding Fields mojo53777 Forms 1 01-10-2008 02:53 PM
Auto-increment for non-100% numerical fields supernoob Access 0 05-03-2007 07:44 PM


All times are GMT -8. The time now is 03:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.