<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#FFFFFF">
I think that the problem is the field names. You cannot have a name
that begins with a digit. Try to rename the column headers yr_2013,
yr_2014, etc.<br>
<div class="moz-cite-prefix"><br>
On 26-May-14 7:52 PM, João Gaspar wrote:<br>
</div>
<blockquote
cite="mid:CAM+zXj3+YurRaJb1iGJqgVOajV3BaKso+T8ZLtCeT0+7t=UK9w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Yes i confirm this behavior with numbers, with the text
fields works ok.<br>
<br>
Test in QGIS 2.2 Valmiera OSGeo4W 32-bits Installer in
Windows 7 64-bits.<br>
<br>
</div>
<div>Alexandre, do you have the same behavior?<br>
</div>
<div><br>
</div>
Regards<br>
</div>
João<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-05-26 17:36 GMT+01:00 Ourizo Cacho
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:usuario7@gmx.es" target="_blank">usuario7@gmx.es</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Sure,<br>
the situation could be:<br>
<br>
csv file content:<br>
<br>
NAME,2013,2014<br>
REGION1,"1000","2000"<br>
REGION2,"3000","4000"<br>
<br>
I try to add this file into QGIS as an only table, with no
geometries associated and the result I get is like this:<br>
<br>
<br>
NAME,field_2,field_3<br>
REGION1,"1000","2000"<br>
REGION2,"3000","4000"<br>
<br>
<br>
<br>
<div>El 26/05/2014 18:26, Alexandre Neto escribió:<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
can you please send a sample of your csv file?
<div><br>
</div>
<div>Alexandre Neto</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, May 26, 2014 at
5:24 PM, Ourizo Cacho <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:usuario7@gmx.es"
target="_blank">usuario7@gmx.es</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hello everyone,<br>
I have a *csv file that I´m trying to add as
an attribute only table. The question is that
QGIS only recognizes the name of the first
field. The others are named, field_2, field_3
and so on... The rest of the table, including
attibutes are ok.<br>
How can I get the correct names of the fields
into a new QGIS attribute table??<br>
Any help, please?<br>
<br>
---<br>
Este mensaje no contiene virus ni malware
porque la protección de avast! Antivirus está
activa.<br>
<a moz-do-not-send="true"
href="http://www.avast.com" target="_blank">http://www.avast.com</a><br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org"
target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<br>
</div>
</div>
<hr
style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px"> <a
moz-do-not-send="true"
href="http://www.avast.com/" target="_blank"> <img
moz-do-not-send="true"
src="http://static.avast.com/emails/avast-mail-stamp.png"
border="0"> </a> </td>
<td>
<p
style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
Este mensaje no contiene virus ni malware porque
la protección de <a moz-do-not-send="true"
href="http://www.avast.com/" target="_blank">avast!
Antivirus</a> está activa. </p>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
<br>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Moshav Idan
D.N. Arava, 86840
cell: 0523-665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a></pre>
</body>
</html>