Small company logo:
   History
 
Advertising banner:
 
 Field.GetItemNumber
Home • Help • Customization Tools • FCAS • Language Reference • Field.GetItemNumber
 
Purpose
Returns the list item number assigned in the List attribute or in FirstClass Designer, based on the current text value of an editable list field.
If there are multiple identical list items, the first will be matched.
Syntax
[Form].Field.GetItemNumber
Example
MyForm.MyEditableListField.List = "A=1;B=2;C=3"
MyForm.MyEditableListField = "B"
Debug MyForm.MyEditableListField.GetItemNumber