If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Auto Population of fields
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! |
#2
|
|||
|
|||
Auto Population of fields
On Fri, 26 Feb 2010 13:46:01 -0800, EJ 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] |
Thread Tools | |
Display Modes | |
|
|