If it is of any help: the same happens if rather than dataset.refresh you call dataset.close then dataset.open