Ok thanks, now I have a problem, when I execute the query it returns no data (null) for all the records on this field whith the val() what hapens if one value is "a" instead of "3" ? It returns Null? or fails all the query?

Instead I have a FlexGrid associated with a data control, and the column of THE_FIELD shows no data (like null's)

Any Idea??