After reopening the workspace previously added fields (columns) are missing

06-22-2022 11:42 AM
New Contributor

Hi, I have an application written in visual basic that uses arcgis objects. The application does several different things that are triggered from the UI. Each of these individual actions always creates a new workspace

Dim workspaceFactory As ESRI.ArcGIS.Geodatabase.IWorkspaceFactory = New ESRI.ArcGIS.DataSourcesGDB.SdeWorkspaceFactory()

After running one action, new columns are added to the sql table using AddField.

Dim ITable As ESRI.ArcGIS.Geodatabase.ITable
Dim IFieldEdit As ESRI.ArcGIS.Geodatabase.IFieldEdit

ITable .AddField(IFieldEdit )

A subsequent test shows that the columns have been added and are also visible in the sql manager.


At the end of this action, the workspace is released.


When the workspace is created again in another action, arcgis does not see the new columns. Do you know what could be the problem?


0 Kudos
0 Replies