Get the number of symbology IDs in a field. The number -1 means the field index is not valid. This action is only valid when using IBM 5250 or 5555 emulation.
Parameters
Field Index |
The index of the field. |
Format
Get_Num_Field_Symbology_IDs (Field Index)
Example
Script(Get_Field_Symbology_ID_Test)
String(strSymbologyID)
Boolean(ok)
Number(numSymbologies)
Number(counter)
Activate(From_Menu)
Comment: Set some symbologies for field 0, then display them.
ok = Set_Field_Symbology_ID(0, "UPCE0", FALSE)
ok = Set_Field_Symbology_ID(0, "CODE 39", FALSE)
ok = Set_Field_Symbology_ID(0, "EAN8", FALSE)
numSymbologies = Get_Num_Field_Symbology_IDs(0)
counter = 0
While(Number_Less_Than(counter, numSymbologies))
strSymbologyID = Get_Field_Symbology_ID(0, counter)
Ask_OK(strSymbologyID, "Symbology for Field 0")
counter = Number_Plus(counter, 1)
End_While
Return
See Also
Get_Num_Fields, Get_Field_Index_Row_Text, Get_Field_Index_Column_Text, Get_Field_Row, Get_Field_Length, Get_Field_Symbology_Operator, Set_Field_Append_Scan_Data, Set_Field_Com_Data_Field, Set_Field_Prefix_Scan_Data, Get_Field_Append_Scan_Data, Get_Field_Column, Get_Num_Field_Data_IDs, Get_Field_Com_Data_Field, Set_Field_Data_ID, Set_Field_Symbology_ID, Get_Field_Symbology_ID
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other