INSERT cannot be issued when row or table buffering is enabled or when integrity constraints are in effect (Error 1588)

Either set row and table buffering off by setting the Buffering property to 1 with CURSORSETPROP( ), or use APPEND instead of INSERT.