I'm trying to insert a barcode in a table in Mailmerge where I am using If Statements

Paul Barnett 0 Reputation points
2023-03-21T18:16:35.6933333+00:00

{IF {ID1} = {ID2} "" "{MERGEBARCODE EAN_REFERERNCE CODE128 \t \h 800}" } wont display any information in the cell

without the IF statement - the barcode shows OK, even tried the above with DISPLAYBARCODE but no joy

but if I use

{IF {ID1} = {ID2} "" "{MERGEFIELD EAN_REFERERNCE }" } the result shows the content of the mergefield

I posted on the community site and was provided with the following which still returns an empty cell

{IF {ID1} = {ID2} "" "{SET Barcode {MERGEBARCODE EAN_REFERERNCE CODE128 \t \h 800}}{REF Barcode}"}

The first record before the IF statements are added is purely {MERGEBARCODE EAN_REFERENCE CODE128 \t \h 800} and this works fine.

Any suggestions

Regards

Paul

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
818 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.