Get_Num_Field_Data_IDs

Get the number of data IDs in a field. The number -1 means that 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_Data_IDs (Field Index)

Example

Script(Get_Field_Data_ID_Test)
String(strDataID)
Number(numDataIDs)
Number(counter)
Activate(From_Menu)
numDataIDs = Get_Num_Field_Data_IDs(0)
counter = 0
While(Number_Less_Than(counter, numDataIDs))
strDataID = Get_Field_Data_ID(0, counter)
Ask_OK(strDataID, "Data ID 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_Symbology_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

© 2016 Wavelink Corporation. All Rights Reserved.