Hi,

Tried using TO_CHAR but got same error..

I guess problem is somewhere else because
The line below
Comp_list := Comp_list || CompId ;

Doesn't fail

Only the else part is failing...don't know why??