Here are the fixes...
1. The relationship between t_SupplierRequest and t_PurchaseOrder should be based in the first PK in t_SupplierRequest. You should not create a second Key it's not needed.
2. You store the spSupplierID in t_PurchaseOrder (so, poSupplierID) and relate on that not the Company Name.
3, You can remove t_Employee1 as the relationship is not needed and will create confusion the way you have done it. You do not need to relate it to see it when running queries.
4. If Department is related to Employee there is no need to also store it in t_SupplierRequests
5. What happened to the Acknowledgement Form table?
6. Remove the Key from Company Name in t-Suppliers it's not needed.
To answer your question, you add a Yes/No field to tSupplierRequestDetail. When checked it will indicate it is on a Purchase Order and that same check box will also determine which Report it shows on. You also need a field to store the poPuchaseOrderID in, so you know which PO that record belongs to.
It's really not that complicated it's just that this is new to you.
1. DONE
2. Actually, I did. I mean, I related it but just named it different because that's how I want the table to look like. Is that okay? Or should I just change it to SupplierID? And another thing, I know it should be related to SupplierID but in the lookup, what should show is just the company name, and should not include the PK. Will that be possible?
3. It actually had three Employee tables because I created too many relationships with it. So what I did was create queries instead. However, for the two remaining relationships, I think it's hard because in the original Employee table, there's a field called eImmediateSupervisor which should also relate to the eEmployeeID. I think that's why Access automatically created a copy table. I've edited the relationships though so it's done.
4. In reality, employees from another department
could make a supplies request for another department. But in policy, an employee can only request for supplies for his/her department. So for me, I still kind of need to store it in the table. However, I'm thinking of maybe following the policies strictly to accommodate your suggestion. Quick question, if I don't store srDepartment, in the form I will create
in the future (lol), is it possible that when an employee is selected, his/her department will automatically show?
5. I didn't copy the Acknowledgement table yet because I was stuck with the SR-PO-RR. Will follow soon.
6. DONE
7. I've already made the Yes/No fields. And I created a srdPurchaseOrder field to relate to t_PurchaseOrder. Quick question: how do I create the relationship of the checkbox to the Purchase Order when it is clicked?
8. Another quick question: So in most relationships, what is usual is to relate a field to the PK, right? But on the actual form, I only want to see the actual data, not the PK number. So in the case of the the relationship of t_PurchaseOrder and t_Supplier, when I am in the PO form and I want to type in the supplier (or in most cases, it's in a drop down menu), I only want it to show the Company Name, and not the PK. Not sure if I'm making sense. But is it possible?
9. Another thing, I cannot understand how I would be able to make checkboxes relate to the Receiving Report. You said that there is only one checkbox for the PO and the RR right? But if I check that, it doesn't necessarily mean that an RR has been created. I want the checkbox to first indicate that the item has been Purchase Ordered. And later, then the items arrive, I want another checkbox to indicate that an RR has been made. Would that be possible?
Here's my progress based on your fixes.
View attachment X.accdb
Will add the Acknowledgement table today. Just a sec.
