I'm using Qgis 1.8.0, and spatialite 2.3 in a Windows Vista machine.<div><br></div><div>I have a database in Spatialite, and I have created a view from one of its tables. When I open it QGIS, via add Spatialite Layer, the attribute table shows ERROR in all of its lines and rows, but the number of rows and attributes seems correct.</div>
<div><br></div><div>I have tried both with spatial and non-spatial views and opening tables (spatial or not) works well.</div><div><br></div><div>This is one of my first approaches with Qgis + Spatialite, so probably something is missing.</div>
<div><br></div><div>Any idea? Thanks</div><div><br></div><div>Alexandre Neto</div><div><br></div><div>----------------------------------------------------------------</div><div><br></div><div><div>CREATE TABLE "Accoes"(</div>
<div>pkuid integer primary key autoincrement,</div><div>"UnidadeID" text,</div><div>"Tipo" text,</div><div>"Descricao" text,</div><div>"Data" text,</div><div>"Responsavel" text)</div>
</div><div><br></div><div><div>CREATE VIEW AccoesPoltest AS</div><div>SELECT c.* FROM Accoes as c</div></div>