Hi friends,
I've buit a database to help my bosses track orders through the purchase and sales process. I built a form that tracks everything by job number, based on tblJobs. tblJobs in turn has SONumber and PONumber fields. Both tblSO and tblPO are tied to JobID.tblJobs in one to one relationships, as there will only be one PO and SO per order. I have linked subforms on the main form for SO and PO info. These are tied using master child fields to the relevant fields on the main form - tblPO subform has PONum as child field to tblJobs.PONumber, and tblSO subform has SONum as child field to master field tblJobs.SONumber.
Everything works great - except for the eventuality that we may receive and enter data for a PO before it is issued and we have the PO number. In this instance, any info entered on a given job shows up for all orders without a PO.
I know I must need to edit my realtionships to get this resolved. Unfortunately, I'm not sure if I should reference the PK from tblJobs or something else.
Do I need to change my form design or my relationships to correct this? Any tips?
TIA
Regards,
Nedstar1
I've buit a database to help my bosses track orders through the purchase and sales process. I built a form that tracks everything by job number, based on tblJobs. tblJobs in turn has SONumber and PONumber fields. Both tblSO and tblPO are tied to JobID.tblJobs in one to one relationships, as there will only be one PO and SO per order. I have linked subforms on the main form for SO and PO info. These are tied using master child fields to the relevant fields on the main form - tblPO subform has PONum as child field to tblJobs.PONumber, and tblSO subform has SONum as child field to master field tblJobs.SONumber.
Everything works great - except for the eventuality that we may receive and enter data for a PO before it is issued and we have the PO number. In this instance, any info entered on a given job shows up for all orders without a PO.
I know I must need to edit my realtionships to get this resolved. Unfortunately, I'm not sure if I should reference the PK from tblJobs or something else.
Do I need to change my form design or my relationships to correct this? Any tips?
TIA
Regards,
Nedstar1