Depending on the type of provider, you can or can not add fields. Eg, if I'm correct a csv file will not work.
You can see in the properties of the layer what the 'capabilities' are of a provider. So to make this possible, you could first create a geopackage or shapefile from it? And then back? Regards, Richard On 07/13/2018 02:25 PM, Martin Bittens wrote: > Hello QGIS Users. > > > I want to create a text field in an attribute table which contains some > data points by using the field calculator. So I selected: > > > - Create a new field > > - Output field name: Comment > > - Output field type: Text (string) > > - Output field length: 10 > > - Text input: 'Area 2' > > > The Output preview shows: 'Area 2'. By clicking on "OK" I receive the > following message: "Could not add the new field to the provider" > > My system is: Windows 10, QGIS2.18.21. > > In the previous versions of QGIS I did not get that error when I added > with the field calculator text fields in attribute tables. > > Does somebody know a solution solving the error? > > > Thank you very much. > > > Martin > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
