Lookup Info and Dump Multiple Fields Into 1 Field

cpinney1120

Registered User.
Local time
Yesterday, 19:49
Joined
Jul 8, 2009
Messages
13
How do I look up several fields from a table and then dump them into one field in another. Please Help!
I want item description and price to go into another table field "Comp1"
:confused:

NEVER MIND - I JUST FIGURED IT OUT !!!! THANKS ANYWAY!!!!
 
Last edited:
How do I look up several fields from a table and then dump them into one field in another. Please Help!
I want item description and price to go into another table field "Comp1"
:confused:

Good database design would make this unecessary. The two tables should be linked through a relationship, the primary key from the one side of the one-to-many relationship should appear as a foreign key in the many side of the relationship. When you want to view the information together it can be done in forms, queries and reports.
 
Why not just store the ID number of the item into field Comp1? Having the same bit of data in multiple tables isn't the best way to do things.

But, if you want to do that, there are several ways. The easiest way would be an append query.
 
Good database design would make this unecessary. The two tables should be linked through a relationship, the primary key from the one side of the one-to-many relationship should appear as a foreign key in the many side of the relationship. When you want to view the information together it can be done in forms, queries and reports.

Thanks For Your Reply But In this case, I dont want to relate it in a different table. I already have a ton of tables related in the db.
 
Thanks For Your Reply But In this case, I dont want to relate it in a different table. I already have a ton of tables related in the db.

Your statement confuses me, because that is how access works, through relationships, it is a relational database, so why would you be concerned about having too many?
 
Thanks For Your Reply But In this case, I dont want to relate it in a different table. I already have a ton of tables related in the db.


Actually, the only thing I would be careful of when forming relationships, is to avoid circular relationships...
 
cpinney, I caution you against taking the 'easy' way out. The moment you have to change some of that lookup data in your database (change in tax rates, product weights, work hours required for full-time, whatever), you're going to wish you could just go into one table and change one entry.
 

Users who are viewing this thread

Back
Top Bottom