Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2005

Tip: Looking for answers? Try searching our database.

querying a bill of material table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnLute - 10 May 2005 17:34 GMT
I have two tables with these pertinent fields:
tblProfiles
txtProfileID (PK)
Description
Type

tblProfilesAssociations
txtProfileID (PK)
ProfilesAssociations (PK)
Comments

tblProfiles is in a one-to-many relationship with tblProfilesAssociations.

tblProfilesAssociations functions as a bill of material which stores
associated txtProfileID's in the ProfilesAssociations field.

What I'd like to do is query tblProfilesAssociations.ProfilesAssociations
along with their respective tblProfiles.Description entries.

Is this possible?

Any help would be greatly appreciated!

Thanks!

Signature

www.Marzetti.com

jl5000 - 11 May 2005 03:06 GMT
Are you working with one level BOM? if so:

-Create a query calling tblProfilesAssociations, and tblProfiles twice, the
second call of tblProfiles will add _1 to the table in the design
-Join table tblProfilesAssociations.ProfilesAssociations to
tblProfiles.txtProfileID  
-Join table tblProfilesAssociations.txtProfileID to
tblProfiles_1.txtProfileID  
-Select the fields you want to show in your query

Signature

jl5000
<a href="http://www.joshdev.com"></a>

> I have two tables with these pertinent fields:
> tblProfiles
[quoted text clipped - 21 lines]
> Thanks!
>  
JohnLute - 13 May 2005 16:52 GMT
THANKS!
Signature

www.Marzetti.com

> Are you working with one level BOM? if so:
>
[quoted text clipped - 31 lines]
> > Thanks!
> >  
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.