DatabaseRecord.Int64Column

From Xojo Documentation

Revision as of 21:30, 23 January 2019 by PLefebvre (talk | contribs)
Method

DatabaseRecord.Int64Column(Name As String) As Int64

Supported for all project types and targets.

Gets the Int64 value for the column Name.


Method

DatabaseRecord.Int64Column(Name As String, Assigns value As Int64)

Supported for all project types and targets.

Sets the Int64 value for the column Name.

Notes

Support for 64-bit integers is provided at the framework level. Plug-ins must be updated to support 64-bit integers.

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.Int64Column("ID") = 1234

myDB.InsertRecord("Team", row)

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