CNS Barcode

Scan and Generate Barcodes

<- Back to CNS Barcode function list

CNSBC_SetProfileOption

Description

Use this function to set a profile option in an existing profile.

Return Type
Text
Format
CNSBC_SetProfileOption ( ProfileName ; OptionName ; OptionValue )
Required Parameters
  • ProfileName

    This is the name of the profile to set the option in.

  • OptionName

    This is the name of the option to set. Valid values are "Action", "ScriptDB", "ScriptName", "FieldDB", "FieldTable", "FieldName", or "CameraName".

  • OptionValue

    This is the value for the option.

Related Items
CNSBC_AddProfile, CNSBC_ConfigureProfile, CNSBC_GetProfileNames, CNSBC_GetProfileOption, CNSBC_RemoveProfile
Example

Code:

CNSBC_SetProfileOption("MyProfile";"Action";"SetField")

Result:

This sets the "Action" option of the "MyProfile" profile to "SetField".