T
Tom Ross
This is for an PO and Receiving database
I have a main form, Porder, based on the Porder table (Purchase order
details)
I have a subform, OrderLineSubform2, based on the OrderLine table linked to
the main form by PONumber. This is displayed in single form view. User can
page through each line on the PO
The detail section of OrderLineSubform2 contains a subform,
ReceivedSubform2, based on the Received table and linked to
OrderLineSubform2 by PONumber and LineNumber, It is displayed as a
datasheet. there is a control in the form footer of the subform
'txtRcdSum' that calculates the sum of the received records on the form
'=sum([qtyreceived])'
The subforms and the sum work as expected.
I want to take the value from txtRcdSum (from ReceivedSubform2) and put in
a textbox in the detail section of OrderLineSubform2. I did this before
with a subform and a main form (not with the third nested form) with a data
source =[ReceivedSubform2].Form![txtRcdSum]. When I use this from the
subform to its subform I get #Name? error.
What other bits, dots, bangs and forms do I need to make that work.
Thanks
Tom
I have a main form, Porder, based on the Porder table (Purchase order
details)
I have a subform, OrderLineSubform2, based on the OrderLine table linked to
the main form by PONumber. This is displayed in single form view. User can
page through each line on the PO
The detail section of OrderLineSubform2 contains a subform,
ReceivedSubform2, based on the Received table and linked to
OrderLineSubform2 by PONumber and LineNumber, It is displayed as a
datasheet. there is a control in the form footer of the subform
'txtRcdSum' that calculates the sum of the received records on the form
'=sum([qtyreceived])'
The subforms and the sum work as expected.
I want to take the value from txtRcdSum (from ReceivedSubform2) and put in
a textbox in the detail section of OrderLineSubform2. I did this before
with a subform and a main form (not with the third nested form) with a data
source =[ReceivedSubform2].Form![txtRcdSum]. When I use this from the
subform to its subform I get #Name? error.
What other bits, dots, bangs and forms do I need to make that work.
Thanks
Tom