MapWinGIS:Table CreateNew

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

CreateNew

Creates a new attribute table. Note: A new table is automatically in editing mode after it is created.


VB.NET Usage

Function CreateNew(dbfFilename As String) As Boolean

            Parameters

dbfFilename

The filename for the new table.
ReturnValue A boolean value representing the success or failure of creating the new table.

Sample Code

    Private Sub CreateTable()
        Dim table As New MapWinGIS.Table()
        Dim success As Boolean
        'Create a new table using the specified filename
        success = table.CreateNew("c:\test.dbf")
    End Sub
  

VB 6 Usage
Function CreateNew(dbfFilename As String) As Boolean
            Parameters

dbfFilename

The filename for the new table.
ReturnValue A boolean value representing the success or failure of creating the new table.

Sample Code

    Private Sub CreateTable()
        Dim table As New MapWinGIS.table
        Dim success As Boolean
        'Create a new table using the specified filename
        success = table.CreateNew("c:\test.dbf")
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Table_CreateNew"

This page has been accessed 1,646 times. This page was last modified on 9 November 2005, at 17:45.