andy2609
20th January 2012, 12:46
Hello

I have a requirement to print a barcode with 3 segments of data, each separated by a tab, so that when scanned with the cursor at the first field in a session, it populates 3 fields of a standard Baan input-type form.

I am currently using bc$() and can print a barcode for the data separately or concatenate the 3 fields without separators. However, I have tried concatenating with 'chr$(9)' and '"$I"' - the former results in no barcode being printed and the latter prints a literal 'data$Idata'.

Any ideas as to a solution, anyone?

andy2609
20th January 2012, 14:54
It seems that I needed to use a type 128, rather than 39 barcode. All working OK now.

mark_h
20th January 2012, 16:09
Interesting - we use $I I think in barcode 39, but we append it after each field. So they scan a barcode, it tabs, scan another, tabs, scan another. This works, but I never tried it as one big scan string. Not sure our little labels would hold all the fields.