Scan If ratio # 0 lnRatio = ratio Else Replace ratio with lnRatio EndIf Endscan Browse>Dear Experts,
>Create Cursor table1 (sno N(3), ratio N(5,2)) >Insert Into table1 Values(1,5.6) >Insert Into table1 Values(2,0) >Insert Into table1 Values(3,0) >Insert Into table1 Values(4,7.8) >Insert Into table1 Values(5,0) >Insert Into table1 Values(6,0) >Insert Into table1 Values(7,3) >Insert Into table1 Values(8,0) >>