<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: field for last row in atable----robert bell specially in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929276#M26154</link>
    <description>If "Lvl. " is consistent, you could use the substr DIESEL expression in the &lt;BR /&gt;
field to remove "Lvl. ".&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BHUTA_NISH&gt; wrote in message news:5537546@discussion.autodesk.com...&lt;BR /&gt;
hi,&lt;BR /&gt;
i want to divide a field in to two parts.some questions wr asked of same &lt;BR /&gt;
type.but thr r no answers.&lt;BR /&gt;
&lt;BR /&gt;
        Lvl = "%&amp;lt;\AcObjProp Object(" &amp;amp; CStr(adBlockAttributes(4).ObjectID) &amp;amp; &lt;BR /&gt;
").TextString \f ""%bl2""&amp;gt;%"&lt;BR /&gt;
        Lvl1 = Split(Lvl, "Lvl. ", 2)&lt;BR /&gt;
         AreaTable.SetText RowNum, 3, Lvl1(1)&lt;BR /&gt;
&lt;BR /&gt;
as Lvl is referenced to attribute i want new field (lvl1) also referenced to &lt;BR /&gt;
attribute value.for some reasons i dont want to divide attribute value in to &lt;BR /&gt;
two in block itself.&lt;BR /&gt;
thank u&lt;/BHUTA_NISH&gt;</description>
    <pubDate>Sat, 31 Mar 2007 21:35:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-03-31T21:35:44Z</dc:date>
    <item>
      <title>field for last row in atable----robert bell specially</title>
      <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929272#M26150</link>
      <description>hi ,&lt;BR /&gt;
sorry for calling robert specifically..i m stuck with this prob.i posted same type of question,but did not get answer.i have seen robert has solved field probs many times.i know robert "U have a job too" .but pl help me.&lt;BR /&gt;
what to do to work in a field for diff. rows in a column?if i want to sum or multiply columns such as sum(D3:D5). but what about last row which is n no.&lt;BR /&gt;
if n=6&lt;BR /&gt;
"%&amp;lt;\AcExpr (Sum(D3:Dn)) \f ""%lu2""&amp;gt;%"  or&lt;BR /&gt;
"%&amp;lt;\AcExpr (Sum(D3:D(n))) \f ""%lu2""&amp;gt;%" &lt;BR /&gt;
&lt;BR /&gt;
this field doesn't work.&lt;BR /&gt;
pl help me .i m finding solution for reasonable amount of time.pl just give hint atleast.&lt;BR /&gt;
&lt;BR /&gt;
thank u</description>
      <pubDate>Fri, 30 Mar 2007 18:07:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929272#M26150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-30T18:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: field for last row in atable----robert bell specially</title>
      <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929273#M26151</link>
      <description>You'll have to update the field's expression if you add new rows past the &lt;BR /&gt;
previous range.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BHUTA_NISH&gt; wrote in message news:5536731@discussion.autodesk.com...&lt;BR /&gt;
hi ,&lt;BR /&gt;
sorry for calling robert specifically..i m stuck with this prob.i posted &lt;BR /&gt;
same type of question,but did not get answer.i have seen robert has solved &lt;BR /&gt;
field probs many times.i know robert "U have a job too" .but pl help me.&lt;BR /&gt;
what to do to work in a field for diff. rows in a column?if i want to sum or &lt;BR /&gt;
multiply columns such as sum(D3:D5). but what about last row which is n no.&lt;BR /&gt;
if n=6&lt;BR /&gt;
"%&amp;lt;\AcExpr (Sum(D3:Dn)) \f ""%lu2""&amp;gt;%"  or&lt;BR /&gt;
"%&amp;lt;\AcExpr (Sum(D3:D(n))) \f ""%lu2""&amp;gt;%"&lt;BR /&gt;
&lt;BR /&gt;
this field doesn't work.&lt;BR /&gt;
pl help me .i m finding solution for reasonable amount of time.pl just give &lt;BR /&gt;
hint atleast.&lt;BR /&gt;
&lt;BR /&gt;
thank u&lt;/BHUTA_NISH&gt;</description>
      <pubDate>Fri, 30 Mar 2007 19:59:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929273#M26151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-30T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: field for last row in atable----robert bell specially</title>
      <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929274#M26152</link>
      <description>thank u robert.&lt;BR /&gt;
what i was asking was if i have rows 1 to n.what will b sum of these rows.i just got answer after long search.&lt;BR /&gt;
"=Sum(D3:D" &amp;amp; CStr(AreaTable.Rows - 1) &amp;amp; ")"&lt;BR /&gt;
this will probably solve many of my problems i encountered.&lt;BR /&gt;
field expression has many aspects,and not good material is available in help files.&lt;BR /&gt;
thanks for taking pain always.</description>
      <pubDate>Fri, 30 Mar 2007 20:18:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929274#M26152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-30T20:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: field for last row in atable----robert bell specially</title>
      <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929275#M26153</link>
      <description>hi,&lt;BR /&gt;
i want to divide a field in to two parts.some questions wr asked of same type.but thr r no answers.&lt;BR /&gt;
&lt;BR /&gt;
        Lvl = "%&amp;lt;\AcObjProp Object(" &amp;amp; CStr(adBlockAttributes(4).ObjectID) &amp;amp; ").TextString \f ""%bl2""&amp;gt;%"&lt;BR /&gt;
        Lvl1 = Split(Lvl, "Lvl. ", 2)&lt;BR /&gt;
         AreaTable.SetText RowNum, 3, Lvl1(1)&lt;BR /&gt;
&lt;BR /&gt;
as Lvl is referenced to attribute i want new field (lvl1) also referenced to attribute value.for some reasons i dont want to divide attribute value in to two in block itself.&lt;BR /&gt;
thank u</description>
      <pubDate>Sat, 31 Mar 2007 19:32:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929275#M26153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-31T19:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: field for last row in atable----robert bell specially</title>
      <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929276#M26154</link>
      <description>If "Lvl. " is consistent, you could use the substr DIESEL expression in the &lt;BR /&gt;
field to remove "Lvl. ".&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
R. Robert Bell&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BHUTA_NISH&gt; wrote in message news:5537546@discussion.autodesk.com...&lt;BR /&gt;
hi,&lt;BR /&gt;
i want to divide a field in to two parts.some questions wr asked of same &lt;BR /&gt;
type.but thr r no answers.&lt;BR /&gt;
&lt;BR /&gt;
        Lvl = "%&amp;lt;\AcObjProp Object(" &amp;amp; CStr(adBlockAttributes(4).ObjectID) &amp;amp; &lt;BR /&gt;
").TextString \f ""%bl2""&amp;gt;%"&lt;BR /&gt;
        Lvl1 = Split(Lvl, "Lvl. ", 2)&lt;BR /&gt;
         AreaTable.SetText RowNum, 3, Lvl1(1)&lt;BR /&gt;
&lt;BR /&gt;
as Lvl is referenced to attribute i want new field (lvl1) also referenced to &lt;BR /&gt;
attribute value.for some reasons i dont want to divide attribute value in to &lt;BR /&gt;
two in block itself.&lt;BR /&gt;
thank u&lt;/BHUTA_NISH&gt;</description>
      <pubDate>Sat, 31 Mar 2007 21:35:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929276#M26154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-03-31T21:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: field for last row in atable----robert bell specially</title>
      <link>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929277#M26155</link>
      <description>hello robert.thank u for reply.&lt;BR /&gt;
i did this,i inserted field in to a field with diesel expression.&lt;BR /&gt;
AreaTable.SetText RowNum, 3, "%&amp;lt;\AcDiesel $(substr,%&amp;lt;\AcObjProp Object(" &amp;amp; CStr(adBlockAttributes(4).ObjectID) &amp;amp; ").TextString \f ""%bl2""&amp;gt;%,6)&amp;gt;%"&lt;BR /&gt;
the field expression is one field for example is,&lt;BR /&gt;
%&amp;lt;\AcDiesel $(substr,Lvl. +2'6,6)&amp;gt;%&lt;BR /&gt;
the result is 2'6&lt;BR /&gt;
1....i can not update field by UPDATEFIELD command.i have to manually go and select and update specific field.&lt;BR /&gt;
2.when instead of 2'6 it is 2'6" it gives XXXX.bcos of " character.&lt;BR /&gt;
what is wrong in this.give suggestion.&lt;BR /&gt;
pl also suggest whether we can use object.handle instead of object.objectid in field expression.&lt;BR /&gt;
thankx</description>
      <pubDate>Sun, 01 Apr 2007 19:21:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/field-for-last-row-in-atable-robert-bell-specially/m-p/1929277#M26155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-01T19:21:51Z</dc:date>
    </item>
  </channel>
</rss>

