TDBCombo Reference > TDBCombo Methods > AddItem Method (TDBCombo) |
AddItem Method (TDBCombo)
This method adds an item to a the TDBList or TDBCombo object.
object.AddItem strItem, [strValue], [nIndex]
Method applies to TDBList and TDBCombo controls.
Arguments
strItem specifies the display text of the item.
strValue specifies a string for the VALUE attribute of the item.
nIndex is an integer that specifies the item's position within the list.
Return Value
None
See Also