Adds a column to the underlying ActiveData object and returns a value that indicates success or failure.
AddColumn (defaultValue, columnName)
Variable | Description |
---|---|
defaultValue | The default value for the new column. Double. |
columnName | The name of the column. String. |
Public Sub Main() AddColumnToDataFile( "occupation" ) End Sub Public Sub AddColumnToDataFile( name As String ) Dim data As ActiveData = Workbench.LoadActiveData( "PhoneBookData" ) data.AddColumn( "Occupation", name ) data.Save() End Sub End Module