D
DubboPete
Hi legends
I have a subform which is master/child linked to the main form by
'Order'. In the subform, I have 'order', 'item' and 'Itemname'. The
'Itemname' field is a DLookup which works fine when I open up the
subform independently. When I open the main form and select the
order from a Combo box to display the order lines (on the subform),
the description turns to #Error.
Frustratingly, I seek advice from my peers. Any thoughts?
Here's the code for the Dlookup:
=DLookUp("Itemname","TblItems","[item]=[forms]![FrmOrdersSubForm]!
[item]")
I have a subform which is master/child linked to the main form by
'Order'. In the subform, I have 'order', 'item' and 'Itemname'. The
'Itemname' field is a DLookup which works fine when I open up the
subform independently. When I open the main form and select the
order from a Combo box to display the order lines (on the subform),
the description turns to #Error.
Frustratingly, I seek advice from my peers. Any thoughts?
Here's the code for the Dlookup:
=DLookUp("Itemname","TblItems","[item]=[forms]![FrmOrdersSubForm]!
[item]")