select IIf(txtWidth=0,173,txtwidth) AS txtwidth,IIf(txtHeight=0,116,txtHeight) AS txtHeight from table