Hi This sound like the bug discussed in http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-td5262903.html. Magnus -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Virtual-layer-vs-DBManager-issue-tp5267382p5267421.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.