I tried case but in oracle forms6i, case is not supported.