UltraLite ActiveX User's Guide
UltraLite ActiveX API Reference
IULColumns collection
Prototype | Description |
---|---|
Count as long (read-only) | Gets the number of columns in the collection. |
Item (Index) as ULColumn (read-only) | Gets a value from the collection. Index can be a number from 1 to count, or the name of a column. |
You can enumerate the columns in a IULColumns collection using the For Each statement in eMbedded Visual Basic or the for ... in statement in JScript.
' eMbedded Visual Basic Dim col As ULColumn For Each col In table.Columns If col.IsNull Then MsgBox col.Schema.Name & "is null" End If Next
// JScript var col : UltraLite.ULColumn; var collection = table.Columns; for ( col in collection ) { if ( col.IsNull ) { alert ( col.Schema.Name + "is null" ); } }