Get_Field_Symbology_Operator

Query whether the field data must match both the field Data ID and the field symbology ID. Use the Set_Field_Symbology_ID And-Or parameter to set whether the field data must match both the field data ID and the field symbology ID.

Parameters

Field Index

The numeric index of the 5250 data field, index 0 is the first field.

Format

Get_Field_Symbology_Operator (Field Index)

Return Value

Returns a Boolean. TRUE if the field data must match both the Data ID and the Symbology ID. Returns FALSE if the field data must match either the Data ID or Symbology ID.

Example

Script( Get_Field_Symbology_Operator_Test )

Boolean( bSetOK )

Boolean( bOperator )

Activate( From_Menu )

bSetOK = Set_Field_Data_ID( 0, "N" )

bSetOK = Set_Field_Symbology_ID( 0, "UPCA", TRUE )

bOperator = Get_Field_Symbology_Operator( 0 )

If( bOperator )

Message( "Field data must match both the Data ID and the Symbology ID", 15 )

Else

Message( "Field data must match one or the other of Data ID and Symbology ID", 15 )

End_If

Return

See Also

Set_Field_Data_ID, Set_Field_Symbology_ID, Set_Field_Append_Scan_Data, Set_Field_Com_Data_Field, Set_Field_Prefix_Scan_Data, Get_Field_Append_Scan_Data, Get_Field_Data_ID, Get_Num_Field_Data_IDs, Get_Num_Field_Symbology_IDs, Get_Field_Com_Data_Field, Get_Field_Symbology_ID, Get_Num_Fields, Get_Field_Prefix_Scan_Data

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal