0
votes

I have a Masterform, which handles all the information header of a ReceivingReport. You must select a PO Number from a combo box, and fill out the necessaries information as well. Everything works fine up to this point.

My subform on the other hand works if I keep it very basic but I want my second combo box located in my subform; which is base off the ID from the first combo box in the masterform to display only items from the PO Number ID.

I know my Query isn't working, since its not even displaying a record. But I can't seem to understand how to pull the information from the masterform combo box to use it correctly to retrieve the correct data.

As you can see in the query image, I was using this to retrieve the bound column PurchaseOrderID from the first combo box.

[Forms]![frm_addReceiveReportInformation].[Form]![cbo_PurchaseOrderID]

enter image description hereenter image description here

1
What is your query returning when you have made a selection in the combobox? (just the query, not your form) - Mark C.
Its returning no records. - Joshua Dalley
I am wondering if your reference to your control on your subform is correct. - Mark C.
I been playing around with it, and I can't seem to figure out how to join the tables... I think that is my current problem. I tried multiple things and I can get records depending on small changes. But it is returning more records than I am expecting - Joshua Dalley
the master link / child link keys are 100% correct. I can vouch on that. - Joshua Dalley

1 Answers

0
votes

[Forms]![frm_addReceiveReportInformation].[Form]![cbo_PurchaseOrderID]

should be

[Forms]![frm_addReceiveReportInformation]![cbo_PurchaseOrderID]