FoxProProgrammer
Programmer
Hi!
Here's a description of my table structure.
tbl_jobs
- jobID (primary key)
- jobNum
- dateCompleted
tbl_LRU_parts_replaced
- jobID (foreign key to tbl_jobs)
- partID (foreign key to tbl_SRU)
- partSN (serial number of SRU replaced)
tbl_SRU
- SRUID
- description
- partNum
tbl_chassis_parts_replaced
- jobID (foreign key to tbl_jobs)
- partID (foreign key to tbl_LRU_chassis_parts)
tbl_LRU_chassis_parts
- partID
- description
- partNum
I need a Query that includes the description and part number of all parts replaced on a job. The jobID is the value of a combo box on a form (cbo_job). The parts replaced on a job could be in tbl_SRU and/or tbl_LRU_chassis_parts. The Query that I wrote doesn't quite work. Maybe I need to use a Union instead of simple Select Query?
I sincerely appreciate any help!
Thanks very much,
dz
Here's a description of my table structure.
tbl_jobs
- jobID (primary key)
- jobNum
- dateCompleted
tbl_LRU_parts_replaced
- jobID (foreign key to tbl_jobs)
- partID (foreign key to tbl_SRU)
- partSN (serial number of SRU replaced)
tbl_SRU
- SRUID
- description
- partNum
tbl_chassis_parts_replaced
- jobID (foreign key to tbl_jobs)
- partID (foreign key to tbl_LRU_chassis_parts)
tbl_LRU_chassis_parts
- partID
- description
- partNum
I need a Query that includes the description and part number of all parts replaced on a job. The jobID is the value of a combo box on a form (cbo_job). The parts replaced on a job could be in tbl_SRU and/or tbl_LRU_chassis_parts. The Query that I wrote doesn't quite work. Maybe I need to use a Union instead of simple Select Query?
I sincerely appreciate any help!
Thanks very much,
dz