DatabaseRecord.DoubleColumn

From Xojo Documentation

Method

DatabaseRecord.DoubleColumn(Name As String) As Double

Supported for all project types and targets.

Gets the Double value for the column Name.


Method

DatabaseRecord.DoubleColumn(Name As String, Assigns value As Double)

Supported for all project types and targets.

Sets the Double value for the column Name.

Sample Code

Creates a new row in the team table:

Dim row As New DatabaseRecord

row.Column("Name") = "Penguins"
row.Column("Coach") = "Bob Roberts"
row.Column("City") = "Boston"
row.DoubleColumn("WinningPercentage") = 0.610

myDB.InsertRecord("Team", row)

If myDB.Error Then
MsgBox("DB Error: " + myDB.ErrorMessage)
End If