K
KarenY
I can have the 'blank' field worked out into "0", but I can't have it with 2
tables.
Please help.
I have 2 tables :
field [PN] and [UnitPrice] in tbl 1
field [PN] and [ListPrice] in tbl 2
here's my function in the qry:
UnitList: (IIf([UnitPrice]=0,[ListPrice],[UnitPrice]))
I want the 0-priced PN in tbl 1 to pick up the price in tbl 2 if there is,
if no price in tbl 2, then back to the 0-price in tbl 1. Yet it doesn't
work, it returns as "blank" not "0", it's probably no [PN] in tbl 2.
thanks,
Karen
tables.
Please help.
I have 2 tables :
field [PN] and [UnitPrice] in tbl 1
field [PN] and [ListPrice] in tbl 2
here's my function in the qry:
UnitList: (IIf([UnitPrice]=0,[ListPrice],[UnitPrice]))
I want the 0-priced PN in tbl 1 to pick up the price in tbl 2 if there is,
if no price in tbl 2, then back to the 0-price in tbl 1. Yet it doesn't
work, it returns as "blank" not "0", it's probably no [PN] in tbl 2.
thanks,
Karen