S
stfcTerryA
Hi
I'm having a problem with form (frmGoodsIn) and subform (frmGoodsInItems)
My rowsource property for the subform combo is: (text is all 1 line)
SELECT tblPurchaseOrderItems.POrderItemsID,
tblPurchaseOrderItems.POrderID,
tblComponents.PartType,
tblPurchaseOrderItems.Quantity,
tblPurchaseOrderItems.QtyOutstanding
FROM tblComponents
INNER JOIN tblPurchaseOrderItems ON tblComponents.ComponentID =
tblPurchaseOrderItems.Component
WHERE (((tblPurchaseOrderItems.POrderID)=***Various Options***))
ORDER BY tblPurchaseOrderItems.POrderItemsID;
***Various Options***
1) [Forms]![frmGoodsIn]![PurchaseOrder]
2) [Me].[Parent]![PurchaseOrder]
3) [Me]![txtPONumber] (I've tried using a unbound text box on the subform to
get the PO number of the parent form - whats annoying is the text box does
show the value of parent form but it still doesn't work)
Basically the form either 1 only every shows the components order on the
very first Purchase order as in changing the parent form combo makes no
difference or when you open the form a enter parameter pop up box happens i
enter the PO number and then it shows me just those components - i cant get
it to happen dynamically as in shows the components related to the parent
form data.
Cheers
Terry
I'm having a problem with form (frmGoodsIn) and subform (frmGoodsInItems)
My rowsource property for the subform combo is: (text is all 1 line)
SELECT tblPurchaseOrderItems.POrderItemsID,
tblPurchaseOrderItems.POrderID,
tblComponents.PartType,
tblPurchaseOrderItems.Quantity,
tblPurchaseOrderItems.QtyOutstanding
FROM tblComponents
INNER JOIN tblPurchaseOrderItems ON tblComponents.ComponentID =
tblPurchaseOrderItems.Component
WHERE (((tblPurchaseOrderItems.POrderID)=***Various Options***))
ORDER BY tblPurchaseOrderItems.POrderItemsID;
***Various Options***
1) [Forms]![frmGoodsIn]![PurchaseOrder]
2) [Me].[Parent]![PurchaseOrder]
3) [Me]![txtPONumber] (I've tried using a unbound text box on the subform to
get the PO number of the parent form - whats annoying is the text box does
show the value of parent form but it still doesn't work)
Basically the form either 1 only every shows the components order on the
very first Purchase order as in changing the parent form combo makes no
difference or when you open the form a enter parameter pop up box happens i
enter the PO number and then it shows me just those components - i cant get
it to happen dynamically as in shows the components related to the parent
form data.
Cheers
Terry