MapWinGIS:Table EditClear

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

EditClear

Deletes all rows and fields from the table. Note: The table must be set to allow editing before the rows and fields can be deleted from the table.
See also StartEditingTable

VB.NET Usage

Function EditClear() As Boolean

            Parameters

ReturnValue

A boolean value representing the success or failure of deleting all rows and fields from the table.

Sample Code

    Private Sub TableClear()
        Dim table As New MapWinGIS.Table()
        Dim success As Boolean
        'Open a table
        success = table.Open("C:\test.dbf")
        'Start editing the table
        success = table.StartEditingTable()
        'Delete all rows and fields from the table
        success = table.EditClear()
    End Sub
  

VB 6 Usage
Function EditClear() As Boolean
            Parameters

ReturnValue

A boolean value representing the success or failure of deleting all rows and fields from the table.

Sample Code

    Private Sub TableClear()
        Dim table As New MapWinGIS.table
        Dim success As Boolean
        'Open a table
        success = table.Open("C:\test.dbf")
        'Start editing the table
        success = table.StartEditingTable()
        'Delete all rows and fields from the table
        success = table.EditClear()
    End Sub

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

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