M
Mary Fran
Hi! I would like to sum [Price]*[Qty] in the footer of my subform and the
problem is that [Price] is an unbound field with a Dlookup function in its
control source. (Actual source is:
=IIf([Type]="Material",DLookUp("[Price]","qryCurrentMaterial","[MaterialID]="
&
[Item]),IIf([Type]="Hardware",DLookUp("[Price]","qryCurrentHardware","[HardwareID]=" & [Item]),DLookUp("[Price]","qryCurrentLabor","[Location]=" & [Item])))
Can someone tell me how to achieve this as sum([Price]*[Qty]) gives #Error.
Thanks!
problem is that [Price] is an unbound field with a Dlookup function in its
control source. (Actual source is:
=IIf([Type]="Material",DLookUp("[Price]","qryCurrentMaterial","[MaterialID]="
&
[Item]),IIf([Type]="Hardware",DLookUp("[Price]","qryCurrentHardware","[HardwareID]=" & [Item]),DLookUp("[Price]","qryCurrentLabor","[Location]=" & [Item])))
Can someone tell me how to achieve this as sum([Price]*[Qty]) gives #Error.
Thanks!