engine:import:addtranslationfromsql
Table of Contents
AddTranslationFromSQL
Translate the value of a field based a list of items loaded via an SQL query.
Phase
This instruction is used by the TapeTrack Import Engine.
Syntax
AddTranslationFromSQL(field, sql);
Variable | Type | Description | Min Length | Max Length |
---|---|---|---|---|
field | String | The field to be translated. | 1 | 128 |
sql | String | An SQL query to run to extract translation pairs. | 1 | 256 |
Example
AddTranslationFromSQL: Translate based on the values in a table.
AddTranslationFromSQL(VOLUME, "SELECT volume,barcode FROM barcodetable");
See Also
engine/import/addtranslationfromsql.txt · Last modified: 2025/01/21 22:07 by 127.0.0.1