Hi Zoltan,

I wonder if this is a DBF format restriction. If I remember correctly DBF field names have to start with a letter followed by any combination of letters and numbers up to the maximum field name length.

Frank.

On 04/08/2015 12:26, Zoltan Szecsei wrote:
Hi,
Using the above version on Win 7 64 bit, I read a CSV file (as
attributes only) stipulating that "first record has field names"
Record 1 is as follows:
"SALnum","SALnam","1","2","3","4","5","6","7","8","9","10+"

When I open the attribute table, I see that fields 1 & 2 have names
SALnum and SALnam, but the rest are called 'Field_3', 'Field_4' and so on.

When I edit record 1 of this CSV file to look like:
"SALnum","SALnam","1p","2p","3p","4p","5p","6p","7p","8p","9p","10+p"

The I get the correct field names (albeit 1p instead of just "1")

Is this an error, or is there some reason further down the line, that
attribute tables cannot have 'numeric' field names?

Thanks and regards,
Zoltan



_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to