Hi!
I just want to know how to write this in an update query.
If map > 0 then productprice = map
ElseIf map = 0 then productprice <> map
I have two tables:
QualityMatters Table
- productprice field
Teledynamics Table
- map field
so i used INNER JOIN here do i need to use Iff?
Example:
Before updating ...
productprice map
120.00 0
150.00 250.00
After updating ...
productprice map
120.00 0 >>>> nothing happened
150.00 150.00 >>>> productprice = map
> Sorry! for the alignment <
do i need to use ISNULL???
hope someone can answer my questions.
Thank you,
Have a great day!
I just want to know how to write this in an update query.
If map > 0 then productprice = map
ElseIf map = 0 then productprice <> map
I have two tables:
QualityMatters Table
- productprice field
Teledynamics Table
- map field
so i used INNER JOIN here do i need to use Iff?
Example:
Before updating ...
productprice map
120.00 0
150.00 250.00
After updating ...
productprice map
120.00 0 >>>> nothing happened
150.00 150.00 >>>> productprice = map
> Sorry! for the alignment <
do i need to use ISNULL???
hope someone can answer my questions.
Thank you,
Have a great day!
