<?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: How to use RefreshSchemaCache (VBA) ? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720850#M19201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your answer, agray1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if there is any other way to refresh database tables structure ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christophe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jul 2010 11:45:59 GMT</pubDate>
    <dc:creator>ChristopheDAMOUR</dc:creator>
    <dc:date>2010-07-27T11:45:59Z</dc:date>
    <item>
      <title>How to use RefreshSchemaCache (VBA) ?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720848#M19199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having problems with Access standalone tables structure not being updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the following advice in the old forum :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Open your workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Cast the workspace factory to the IWorkspaceFactorySchemaCache interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Call IWorkspaceFactorySchemaCache.RefreshSchemaCache, passing your workspace in as a parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to to that in VBA as follow, but I get a "Method or data member not found" error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pFactWorkSpace As IWorkspaceFactory
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pFactWorkSpace = New OLEDBWorkspaceFactory
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pWorkSpace As IWorkspace
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set pWorkSpace = pFactWorkSpace.Open(pPropset, 0)

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Dim pWorkspaceFactorySchemaCache As IWorkspaceFactorySchemaCache
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Set pWorkspaceFactorySchemaCache = pFactWorkSpace
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'pWorkspaceFactorySchemaCache.RefreshSchemaCache (pWorkSpace)&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any hint.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 11:45:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720848#M19199</guid>
      <dc:creator>ChristopheDAMOUR</dc:creator>
      <dc:date>2010-06-29T11:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RefreshSchemaCache (VBA) ?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720849#M19200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you look at the help for IworkspaceFactoryschemacache, it is only implemented for SDEworkspacefactory.&amp;nbsp; You are using an OLEWorkspaceFactory...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The schema cache is only meant for sde schema caching.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jun 2010 13:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720849#M19200</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2010-06-30T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RefreshSchemaCache (VBA) ?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720850#M19201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your answer, agray1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if there is any other way to refresh database tables structure ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christophe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 11:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-use-refreshschemacache-vba/m-p/720850#M19201</guid>
      <dc:creator>ChristopheDAMOUR</dc:creator>
      <dc:date>2010-07-27T11:45:59Z</dc:date>
    </item>
  </channel>
</rss>

