P
peljo via AccessMonster.com
In my form i want to lookup a field in the query and multiply this to the
value of a control.I get however errors.is it possible to do what i am doing :
Dim NewUnitprice As Double
set NewUnitPrice = " CCur(Nz(DLookUp("NewUnitPrice";"qryAmount";"OrderID=" &
[Orders].[OrderID]);0))"
Me!extendedprice = NewUnitprice
Where is the error in my code ?
Thank you in advance
value of a control.I get however errors.is it possible to do what i am doing :
Dim NewUnitprice As Double
set NewUnitPrice = " CCur(Nz(DLookUp("NewUnitPrice";"qryAmount";"OrderID=" &
[Orders].[OrderID]);0))"
Me!extendedprice = NewUnitprice
Where is the error in my code ?
Thank you in advance