Hello Developers,i have to create an empty table and add this table to the map. (later i will fill the table with information)The following code produces an error: "Run-time error' -2147220985 (80040207)'"Maybe everyone can help me to find the problem? Thanks a lot!Greets, André Mende_____________________________________________________________________________________Private Sub btnCreateStandaloneTable_Click()Dim pTable As ITableDim pFeatureWorkspace As IFeatureWorkspaceDim pWorkspaceFactory As IWorkspaceFactoryDim pWorkspace As IWorkspaceSet pWorkspaceFactory = New TextFileWorkspaceFactorySet pWorkspace = pWorkspaceFactory.OpenFromFile("C:\Workspace", 0)Set pFeatureWorkspace = pWorkspaceDim pFieldsEdit As IFieldsEditDim pFields As IFieldsSet pFields = New FieldsSet pFieldsEdit = pFieldsSet pTable = pFeatureWorkspace.CreateTable("Test", pFieldsEdit, Nothing, Nothing, "") 'the row with the errorEnd Sub
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.