<?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: zoom to polygon on Microsoft Access report in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534382#M14427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very very much James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been stressing and pulling my hair out for weeks trying to figure this out and all along it was the simplest of problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't thank you enough for your speedy and fantastic reply everything works perfectly now!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2011 15:34:50 GMT</pubDate>
    <dc:creator>PhillipDavis2</dc:creator>
    <dc:date>2011-04-12T15:34:50Z</dc:date>
    <item>
      <title>zoom to polygon on Microsoft Access report</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534380#M14425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have searched for a solution but don't seem to be able to find one on this forum (Apologies if I have over looked a post).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an access report that is based on information within a personal geodatabase, using two fields within a polygon feature to identify each area. On the report is a MapControl Object that I'm attempting to have refresh for each page to show the unique area that the report is concentrating on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried numerous pieces of code but non have been successful. I have "Getting to know ArcObjects" but struggle to follow the section on making dynamic layouts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any pointers, or example code to help would be very useful as my current code runs into a 'Run-time error '-2147467259 (80004005)': Data type mismatch in criteria expression." at&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set ss = FC.Select(iq, esriSelectionTypeIDSet, esriSelectionOptionNormal, Nothing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've included a text file of the code if this helps at all. I am open to a complete re-write. I feel this should be much much easier than I'm making it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 12:34:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534380#M14425</guid>
      <dc:creator>PhillipDavis2</dc:creator>
      <dc:date>2011-04-11T12:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: zoom to polygon on Microsoft Access report</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534381#M14426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure "Sect" in your WHERE clause is of type numeric?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;iq.WhereClause = "[Branch]='" &amp;amp; Bran &amp;amp; "' AND [Section_]=" &amp;amp; Sect&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is a string type then you'd need to add single quotes around it like you have done wiht "[Branc]".&amp;nbsp; Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;iq.WhereClause = "[Branch]='" &amp;amp; Bran &amp;amp; "' AND [Section_]='" &amp;amp; Sect &amp;amp;'"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 11:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534381#M14426</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2011-04-12T11:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: zoom to polygon on Microsoft Access report</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534382#M14427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very very much James,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been stressing and pulling my hair out for weeks trying to figure this out and all along it was the simplest of problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't thank you enough for your speedy and fantastic reply everything works perfectly now!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 15:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534382#M14427</guid>
      <dc:creator>PhillipDavis2</dc:creator>
      <dc:date>2011-04-12T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: zoom to polygon on Microsoft Access report</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534383#M14428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you very very much James,&lt;BR /&gt;&lt;BR /&gt;I've been stressing and pulling my hair out for weeks trying to figure this out and all along it was the simplest of problems.&lt;BR /&gt;&lt;BR /&gt;I can't thank you enough for your speedy and fantastic reply everything works perfectly now!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Great!&amp;nbsp; Glad it helped out!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;james&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 17:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/zoom-to-polygon-on-microsoft-access-report/m-p/534383#M14428</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2011-04-12T17:33:03Z</dc:date>
    </item>
  </channel>
</rss>

