I am having trouble getting records selected from a table that I need to have a price field updated with an addon pct.
basically pprice=paddon_pct* pcost.
MY TABLE named parts
ppartno
pdescrip
pprice
paddon_pct
pcost
my update query is from table parts
1st and only column defined
field = pprice
table = parts
update to = parts!pprice
criteria = IIf(([parts!pprice]=0),0,[parts!pcost]*[parts!paddon_pct])
when I run
i get no records selected and no pprice field updated?
it says i have selected 0 rows and nothing is updated
what stupid thing am i doing wrong?
thanks
basically pprice=paddon_pct* pcost.
MY TABLE named parts
ppartno
pdescrip
pprice
paddon_pct
pcost
my update query is from table parts
1st and only column defined
field = pprice
table = parts
update to = parts!pprice
criteria = IIf(([parts!pprice]=0),0,[parts!pcost]*[parts!paddon_pct])
when I run
i get no records selected and no pprice field updated?
it says i have selected 0 rows and nothing is updated
what stupid thing am i doing wrong?
thanks