Character Substitution Follow
I have a named data source which is a database field. The format of the field is... "AAAAA AAAAAA AAAAA" where there could be 1-5 alphanumeric characters in each grouping. The Bar code needs to read as is but Human Readable needs to read as "AAAAA-AAAAAA-AAAAA". I tried to use a VBScript with the "Replace" function but when I close the function, it says there is an error and winds up not printing the Human readable at all on the label.
Any help would be appreciated.
The Syntax that I was attempting to use is... "OnProcessData"
Value = Replace(Field("GenSerLabel04654 XXXX.SerialLabel_CustPartNum"), " ", "-")
The error message that the script assistant reports is "The script did not read from the "Value" property, which means that the currently specified data source was completely ignored. Ths may not be what you intended."
Please sign in to leave a comment.