ON ERROR CLEAR CREATE CURSOR testBinary (aa i NULL) INDEX ON UDF(AA) TAG TBIN2 BINARY * a UDF remove the nullable check INDEX ON SAME(ISNULL(AA)) TAG TBIN1 BINARY * and then fail here INSERT INTO testBinary VALUES (1) PROCEDURE UDF(XX) RETURN XX=0 OR .NULL. FUNCTION SAME(X) RETURN m.xOf course the message is clear, and says that is TBIN2 that fails!!!!