Product Logo

CNS Barcode

Scan and Generate Barcodes

Functions

CNSBC_SetProfileOption

NameCNSBC_SetProfileOption
Description

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

Return TypeText
FormatCNSBC_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”, “CameraName”, or “BeepOnScan”.

OptionValue

This is the value for the option.

Example
Example 1

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

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