Unable to Print By using VB Scripts Follow
We are trying to modify a data provided and print a new field using VB Scripting. We are using Bartender 10.1SR4 with commander. The Label Format uses the a txt as a database file. Below is how the database file and the trigger file for commander looks like. The trigger file contains the commander script, first line as header followed by the actual data.
%BTW% /AF="c:\labels\format\receipts.btw" /PRN="label_war_room" /P /D="%Trigger File Name%" /C=1 /R=3
Label Request Id|553|Site|TEST|Whse|100003|Inspection Flag|1
VB Script Being Used for a New Single Line Text Field
IF Field("Database.inspection_flag") ="1" Then value="INS" Else value="NEW" End if
Also Tried EventControlScripts OnNewRecord with the same script as above.
Please sign in to leave a comment.