UltraLite ActiveX User's Guide
UltraLite ActiveX API Reference
ULTable class
InsertBegin( )
Member of UltraliteActiveX.ULTable
Prepares a table for inserting a new row, setting column values to their defaults.
In this example, InsertBegin sets insert mode to allow you to begin assigning data values to CustomerTable columns.
' eMbedded Visual Basic
CustomerTable.InsertBegin
CustomerTable.Columns("Fname").Value = fname
CustomerTable.Columns("Lname").Value = lname
If Len(city) > 0 Then
CustomerTable.Columns("City").Value = city
End If
If Len(phone) > 0 Then
CustomerTable.Columns("phone").Value = phone
End If
CustomerTable.Insert// JScript
CustomerTable.InsertBegin();
CustomerTable.Columns("Fname").Value = fname;
CustomerTable.Columns("Lname").Value = lname;
If ( Len(city) > 0 ) {
CustomerTable.Columns("City").Value = city;
}
If ( Len(phone) > 0 ) {
CustomerTable.Columns("phone").Value = phone;
}
CustomerTable.Insert();