I am putting this in the Control source of an unbound text box on the
subform
=Nz(DSum("ItemQty * UnitRate","tblItemDetails","EstimateNo ='" &
[me].[txtEstimateNo] & "' AND ItemNo= '" & [me].[txtItemNo] & "'"),0)
the textbox now just displays Name?
What am I doing wrong
Thanks
Alison
> Hi (what is your name?)
>
[quoted text clipped - 95 lines]
>>>>>>
>>>>>> A
Microsoft - 16 May 2008 17:25 GMT
Thanks for your help - I've got it to work!
I removed the me and used the field name not the control name (ie.
removed the txt...
Thanks again
>I am putting this in the Control source of an unbound text box on the
>subform
[quoted text clipped - 107 lines]
>>>>>>>
>>>>>>> A
strive4peace - 16 May 2008 18:02 GMT
glad you got it, Alison ;) happy to help
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*
(: have an awesome day :)
*
> Thanks for your help - I've got it to work!
>
[quoted text clipped - 113 lines]
>>>>>>>>
>>>>>>>> A
strive4peace - 16 May 2008 17:35 GMT
Hi Alison,
since you have the equation in a ControlSource, remove 'Me.' in front of
the controlnames ...
"EstimateNo ='" & [txtEstimateNo] & "' AND ItemNo= '" & [txtItemNo] & "'"
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*
(: have an awesome day :)
*
> I am putting this in the Control source of an unbound text box on the
> subform
[quoted text clipped - 107 lines]
>>>>>>>
>>>>>>> A