<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thank you Jurgen for the valuable information. I would not have been able to get my plugin to do the update I need to have it with out your kindness.<br><br>Is there anywhere such items are explained? Is that part of the api doc through inheritance? If so I would try to look into it more and do my homework so that I am not a asking too many questions. But just the same, I am also ashamed to ask, and take your valuable time and I spend quite a bit of my time wandering around. <br><br>Thank you Jurgen again and I also say, God bless you.<br><br>Maaza<br><br>--- On <b>Sat, 4/30/11, Jürgen E. Fischer <i>&lt;jef@norbit.de&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Jürgen E. Fischer &lt;jef@norbit.de&gt;<br>Subject: Re: [Qgis-developer] Attribute data update of a shape
 file<br>To: qgis-developer@lists.osgeo.org<br>Date: Saturday, April 30, 2011, 3:25 AM<br><br><div class="plainMail">Hi,<br><br>On Fri, 29. Apr 2011 at 07:56:35 -0700, maaza mekuria wrote:<br>&gt;&nbsp; &nbsp; I have a written a plugin that updates an attribute of a shape file and it<br>&gt;&nbsp; &nbsp; tells me it ran fine and yet, I am not able to see the changes in the<br>&gt;&nbsp; &nbsp; attribute table once the program finishes. I am using QGIS 1.6 Copiapo on<br>&gt;&nbsp; &nbsp; Windows). I am compiling using the 1.7 source, but I have tried using the<br>&gt;&nbsp; &nbsp; trunk version and it does not seem to matter at all.<br><br>Changes to the feature buffer filled by QgsVectorLayer::nextFeature() are not<br>propagated to the layer.<br><br>Use QgsVectorLayer::changeAttributeValue() [1].<br><br><br>Jürgen<br><br>[1] <a href="http://www.qgis.org/api/classQgsVectorLayer.html#c6713fc84331e0b459f10fd0d7ecd8b8"
 target="_blank">http://www.qgis.org/api/classQgsVectorLayer.html#c6713fc84331e0b459f10fd0d7ecd8b8</a><br><br>-- <br>Jürgen E. Fischer&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;norBIT GmbH&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Tel. +49-4931-918175-20<br>Dipl.-Inf. (FH)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Rheinstraße 13&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Fax. +49-4931-918175-50<br>Software Engineer&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;D-26506 Norden&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><br><br>-- <br>norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<br>Rheinstrasse 13, 26506 Norden<br>GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br><br>_______________________________________________<br>Qgis-developer mailing list<br><a ymailto="mailto:Qgis-developer@lists.osgeo.org"
 href="/mc/compose?to=Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></div></blockquote></td></tr></table>