Hi there,
I am very new to Access and do not really use VBA code at all. I am making a query in Query Design with several tables joined together. (ICPartSubAssembly Table - contains components of parts & ICPart Table - contains other info regarding the parts like price, cost, description, etc.) The main table I am concerned with (ICPartSubAssembly) has the following fields:
SKICPartSubAssembly
NextRecord
FKICPart (field that links to the ICPart table)
FKPartSeqNum
Type
NumberofComponents
Comp1_FKICPart (these fields 1-10 also link to ICPart table)
Comp1_FKPartSeqNum
Comp1_Qty
Comp2_FKICPart
Comp2_FKPartSeqNum
Comp2_Qty
Comp3_FKICPart
Comp3_FKPartSeqNum
Comp3_Qty
Comp4_FKICPart
Comp4_FKPartSeqNum
Comp4_Qty
Comp5_FKICPart
Comp5_FKPartSeqNum
Comp5_Qty
Comp6_FKICPart
Comp6_FKPartSeqNum
Comp6_Qty
Comp7_FKICPart
Comp7_FKPartSeqNum
Comp7_Qty
Comp8_FKICPart
Comp8_FKPartSeqNum
Comp8_Qty
Comp9_FKICPart
Comp9_FKPartSeqNum
Comp9_Qty
Comp10_FKICPart
Comp10_FKPartSeqNum
Comp10_Qty
I made a query that links the CompX_FKICPart with the proper field in the ICPart table to show the name of each component for a particular part. My problem is that many of our parts have more than 10 components. Is there a way that I can use "NextRecord" to properly create my query to pull ALL of the components for each part?
Thank you!