S Scottyg1987 New member Local time Today, 07:26 Joined Jan 31, 2005 Messages 6 Feb 5, 2005 #1 I am stuck for a calculation expression for 'extended price' which can be seen in the attached screenshot. I want to times item price by quantity and deduct the discount. Thanks. Attachments 10123.JPG 44 KB · Views: 223 Last edited: Feb 5, 2005
I am stuck for a calculation expression for 'extended price' which can be seen in the attached screenshot. I want to times item price by quantity and deduct the discount. Thanks.
L llkhoutx Registered User. Local time Today, 09:26 Joined Feb 26, 2001 Messages 4,018 Feb 5, 2005 #2 me!ExtendedPrice = me!UnitPrice * me!Quantity - nz(me!Discount) Extrendedprice appears to be bound, it needn't/shouldn't be. Bindng it violates one of the normalization rules. The NZ function is used on Discount because Discount may be Null.
me!ExtendedPrice = me!UnitPrice * me!Quantity - nz(me!Discount) Extrendedprice appears to be bound, it needn't/shouldn't be. Bindng it violates one of the normalization rules. The NZ function is used on Discount because Discount may be Null.
S Scottyg1987 New member Local time Today, 07:26 Joined Jan 31, 2005 Messages 6 Feb 7, 2005 #3 yep put expression in, as shown in screenshot attachment but error name? is displayed when working this. Attachments untitledjj.JPG 73.6 KB · Views: 182
yep put expression in, as shown in screenshot attachment but error name? is displayed when working this.
L llkhoutx Registered User. Local time Today, 09:26 Joined Feb 26, 2001 Messages 4,018 Feb 7, 2005 #4 What I proposed would work in VBA, for controlsource use = me!UnitPrice * me!Quantity - nz(me!Discount)
What I proposed would work in VBA, for controlsource use = me!UnitPrice * me!Quantity - nz(me!Discount)
S Scottyg1987 New member Local time Today, 07:26 Joined Jan 31, 2005 Messages 6 Feb 8, 2005 #5 done, thanks