Hi Guys,
I am creating a new query pulling data from [tbl_Product] and subquery [qry_LatestProductPrice] with outer join to populate all records from [tbl_Product].
[tbl_Product] = ProductID
[qry_LatestProductPrice] = Price
For the blank record in qry_LatestProductPrice, it will display #Error in the Price column.
My question is how to remove the #Error in the blank record or is there any problem with my query.
I have tried IIf(IsNull([Price],0,[Price]) and IIf([Price]=0,0,[Price]) but it is not working.
I hope you guys could help me solve the problem.
Thank you.
tserhung
I am creating a new query pulling data from [tbl_Product] and subquery [qry_LatestProductPrice] with outer join to populate all records from [tbl_Product].
[tbl_Product] = ProductID
[qry_LatestProductPrice] = Price
For the blank record in qry_LatestProductPrice, it will display #Error in the Price column.
My question is how to remove the #Error in the blank record or is there any problem with my query.
I have tried IIf(IsNull([Price],0,[Price]) and IIf([Price]=0,0,[Price]) but it is not working.
I hope you guys could help me solve the problem.
Thank you.
tserhung