<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: VBA Field Calculator Tips in ArcMap (Kelso)</title>
	<atom:link href="http://kelsocartography.com/blog/?feed=rss2&#038;p=3148" rel="self" type="application/rss+xml" />
	<link>http://kelsocartography.com/blog/?p=3148</link>
	<description>Blogging at KelsoCartography.com</description>
	<lastBuildDate>Sat, 11 Aug 2012 01:39:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Seth</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-106008</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Mon, 08 Aug 2011 05:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-106008</guid>
		<description><![CDATA[Hi all friend
I have two field: field1 and field2
field1: 
72°4&#039; 31.192&quot;
72°3&#039; 31.195&quot;
So I want to calculate field2 like this: 
72°04&#039; 31.192&quot;
72°03&#039; 31.195&quot;
How can I calculate this field2?
Please tell me about vb Script or Python or other]]></description>
		<content:encoded><![CDATA[<p>Hi all friend<br />
I have two field: field1 and field2<br />
field1:<br />
72°4&#8242; 31.192&#8243;<br />
72°3&#8242; 31.195&#8243;<br />
So I want to calculate field2 like this:<br />
72°04&#8242; 31.192&#8243;<br />
72°03&#8242; 31.195&#8243;<br />
How can I calculate this field2?<br />
Please tell me about vb Script or Python or other</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-99441</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Tue, 21 Jun 2011 17:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-99441</guid>
		<description><![CDATA[Greetings all,

    I have created a fishnet set of polygons.  There is no information in it and I need to populate it with a series of repeating values in each row there are only two possible values and there are three sets so it looks something like this

    ABABABABAB
    CDCDCDCDCD
    EFEFEFEFEFEFEF
    ABABABABAB
    CDCDCDCDCD
    EFEFEFEFEFEFEF

    While I would normally just fill this in by hand, there are 7000+ blocks.  Is there a script out there that will allow me to populate this automatically?  

Thank you all,
Dennis]]></description>
		<content:encoded><![CDATA[<p>Greetings all,</p>
<p>    I have created a fishnet set of polygons.  There is no information in it and I need to populate it with a series of repeating values in each row there are only two possible values and there are three sets so it looks something like this</p>
<p>    ABABABABAB<br />
    CDCDCDCDCD<br />
    EFEFEFEFEFEFEF<br />
    ABABABABAB<br />
    CDCDCDCDCD<br />
    EFEFEFEFEFEFEF</p>
<p>    While I would normally just fill this in by hand, there are 7000+ blocks.  Is there a script out there that will allow me to populate this automatically?  </p>
<p>Thank you all,<br />
Dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-58438</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Wed, 01 Sep 2010 15:47:17 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-58438</guid>
		<description><![CDATA[I am trying to populate a number field in sequential order. I have used the scripts found on this page but it assigns the number in the order that I created each shape. I want it to assign the number in the the order that I have already placed my shapes in. Anyone have any answers??]]></description>
		<content:encoded><![CDATA[<p>I am trying to populate a number field in sequential order. I have used the scripts found on this page but it assigns the number in the order that I created each shape. I want it to assign the number in the the order that I have already placed my shapes in. Anyone have any answers??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathaniel</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-56918</link>
		<dc:creator>Nathaniel</dc:creator>
		<pubDate>Fri, 20 Aug 2010 15:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-56918</guid>
		<description><![CDATA[Thanks for the tip, @Shanoboy!]]></description>
		<content:encoded><![CDATA[<p>Thanks for the tip, @Shanoboy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shanoboy</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-56916</link>
		<dc:creator>shanoboy</dc:creator>
		<pubDate>Fri, 20 Aug 2010 15:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-56916</guid>
		<description><![CDATA[Also, in response to your solution for removing extra spaces. You can use the trim function.

Trim ( [FieldName] )

Or if you have too many spaces, you can use replace to shorten them:
Replace([FieldName], &quot;     &quot;, &quot; &quot;)   &lt;- where you literally replace the excess spaces (&quot;    &quot;) with the amount of spaces you desire (&quot; &quot;).]]></description>
		<content:encoded><![CDATA[<p>Also, in response to your solution for removing extra spaces. You can use the trim function.</p>
<p>Trim ( [FieldName] )</p>
<p>Or if you have too many spaces, you can use replace to shorten them:<br />
Replace([FieldName], &#8221;     &#8220;, &#8221; &#8220;)   &lt;- where you literally replace the excess spaces (&#8221;    &#8220;) with the amount of spaces you desire (&#8221; &#8220;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shanoboy</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-56914</link>
		<dc:creator>shanoboy</dc:creator>
		<pubDate>Fri, 20 Aug 2010 14:45:26 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-56914</guid>
		<description><![CDATA[Thanks for this. Great help and refresher!]]></description>
		<content:encoded><![CDATA[<p>Thanks for this. Great help and refresher!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vince</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-56569</link>
		<dc:creator>Vince</dc:creator>
		<pubDate>Tue, 17 Aug 2010 16:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-56569</guid>
		<description><![CDATA[I have an attribute field (WKZN) that contains numeric values 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (integer).  I need to filter out the &quot;0&#039;s&quot; (accomplished with a 
&gt; &gt; &gt; &gt; &gt; &gt; Tester) and then write a value in the field to replace the &quot;0&#039;s&quot;.  The 
&gt; &gt; &gt; &gt; &gt; &gt; number I need to write needs to be the next highest value from the 
&gt; &gt; &gt; &gt; &gt; &gt; highest existing number in the field (e.g. if 3630 is the largest 
&gt; &gt; &gt; &gt; &gt; &gt; number in the attribute field, I want to write 3631 for my first &quot;0&quot; 
&gt; &gt; &gt; &gt; &gt; &gt; and 3632 for my second &quot;0&quot; and so on...).  Any suggestions as to how 
&gt; &gt; &gt; &gt; &gt; &gt; to accomplish this?]]></description>
		<content:encoded><![CDATA[<p>I have an attribute field (WKZN) that contains numeric values<br />
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (integer).  I need to filter out the &#8220;0&#8242;s&#8221; (accomplished with a<br />
&gt; &gt; &gt; &gt; &gt; &gt; Tester) and then write a value in the field to replace the &#8220;0&#8242;s&#8221;.  The<br />
&gt; &gt; &gt; &gt; &gt; &gt; number I need to write needs to be the next highest value from the<br />
&gt; &gt; &gt; &gt; &gt; &gt; highest existing number in the field (e.g. if 3630 is the largest<br />
&gt; &gt; &gt; &gt; &gt; &gt; number in the attribute field, I want to write 3631 for my first &#8220;0&#8243;<br />
&gt; &gt; &gt; &gt; &gt; &gt; and 3632 for my second &#8220;0&#8243; and so on&#8230;).  Any suggestions as to how<br />
&gt; &gt; &gt; &gt; &gt; &gt; to accomplish this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Esther</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-54670</link>
		<dc:creator>Esther</dc:creator>
		<pubDate>Sun, 25 Jul 2010 22:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-54670</guid>
		<description><![CDATA[Hello GIS fellows,
I am ( a newby) trying to do some ArcMap VBA calculations, but I can not get the script to work (&quot;Error Running VBA Script Code&quot;). I would like to populate a field using an equation that depends on landuse type: 

e.g. if IF [LANDUSE]=&quot;Low Density Residential&quot; THEN (in the Pre-Logic VBA Script Code)
BOD =( [Ai]/ [Sum_Ai])*( [Rv]/ [Sum_Rvi])*13.5

e.g. if IF [LANDUSE]=&quot;High Density Residential&quot; THEN (in the Pre-Logic VBA Script Code)
BOD =( [Ai]/ [Sum_Ai])*( [Rv]/ [Sum_Rvi])*13.5

Please help]]></description>
		<content:encoded><![CDATA[<p>Hello GIS fellows,<br />
I am ( a newby) trying to do some ArcMap VBA calculations, but I can not get the script to work (&#8220;Error Running VBA Script Code&#8221;). I would like to populate a field using an equation that depends on landuse type: </p>
<p>e.g. if IF [LANDUSE]=&#8221;Low Density Residential&#8221; THEN (in the Pre-Logic VBA Script Code)<br />
BOD =( [Ai]/ [Sum_Ai])*( [Rv]/ [Sum_Rvi])*13.5</p>
<p>e.g. if IF [LANDUSE]=&#8221;High Density Residential&#8221; THEN (in the Pre-Logic VBA Script Code)<br />
BOD =( [Ai]/ [Sum_Ai])*( [Rv]/ [Sum_Rvi])*13.5</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiffany</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-53342</link>
		<dc:creator>Tiffany</dc:creator>
		<pubDate>Thu, 08 Jul 2010 20:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-53342</guid>
		<description><![CDATA[I have calculated values in the attribute table and sorted highest to lowest. I would now like to rank them. I&#039;ve added a new field. How do I calculate sequential numbers to popluate the field? Thanks for any help you can give!]]></description>
		<content:encoded><![CDATA[<p>I have calculated values in the attribute table and sorted highest to lowest. I would now like to rank them. I&#8217;ve added a new field. How do I calculate sequential numbers to popluate the field? Thanks for any help you can give!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathaniel</title>
		<link>http://kelsocartography.com/blog/?p=3148&#038;cpage=1#comment-51019</link>
		<dc:creator>Nathaniel</dc:creator>
		<pubDate>Thu, 10 Jun 2010 22:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://kelsocartography.com/blog/?p=3148#comment-51019</guid>
		<description><![CDATA[@Bubba: Try running repair geometry on your features. You might have some null polygons in there. Also, if myString is 0 length (empty), you might get this error because of that.]]></description>
		<content:encoded><![CDATA[<p>@Bubba: Try running repair geometry on your features. You might have some null polygons in there. Also, if myString is 0 length (empty), you might get this error because of that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
